#DFE796

Closest named color: Khaki (#F0E68C). oklch(90.3% 0.103 113.1), rgb(223, 231, 150).

Aa

Black text reads best on this color (16.00:1).

About this color

#DFE796 is a very light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.103 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.023 away. Black text reads best on it, at 16.00:1.

Hue familyYellows
Lightnessvery light (90%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameKhaki (#F0E68C)
Black text16.00:1
White text1.31:1

Values

HEX#DFE796
RGBrgb(223, 231, 150)
HSLhsl(66, 63%, 75%)
OKLCHoklch(90.3% 0.103 113.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #DFE796 1.31:1 Fails Lc -17.7 Dividers and decoration only
Black text on #DFE796 16.00:1 AAA Lc 88.2 Fine for body text
#DFE796 text on white 1.31:1 Fails Lc 15.4 Dividers and decoration only
#DFE796 text on black 16.00:1 AAA Lc -88.3 Fine for body text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 200.

  1. Step 50

    50

    #F5F7EA

    oklch(97.1% 0.017 113.8)

  2. Step 100

    100

    #E9EDD0

    oklch(93.5% 0.038 113.5)

  3. Step 200

    200 (this color)

    #DFE796

    oklch(90.3% 0.103 113.1)

  4. Step 300

    300

    #C1CA5D

    oklch(81% 0.134 113.3)

  5. Step 400

    400

    #A2AA00

    oklch(70.8% 0.158 113.1)

  6. Step 500

    500

    #8B9100

    oklch(63% 0.14 112.7)

  7. Step 600

    600

    #747A00

    oklch(55.6% 0.124 113.2)

  8. Step 700

    700

    #626700

    oklch(49.3% 0.11 113.1)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#DFE796 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#F2E0900.029
Deuteranopia (no green cones)#F2E29A0.030
Tritanopia (no blue cones)#E8DED30.091
Achromatopsia (no color)#E1E1E10.104

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #DFE796

    #DFE796

    oklch(90.3% 0.103 113.1)

  • #E0D9FF

    #E0D9FF

    oklch(90.3% 0.052 293.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFE796

    #DFE796

    oklch(90.3% 0.103 113.1)

  • #FFDA93

    #FFDA93

    oklch(90.4% 0.098 83.1)

  • #B7F1B3

    #B7F1B3

    oklch(90.3% 0.102 143.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #DFE796

    #DFE796

    oklch(90.3% 0.103 113.1)

  • #CFE0FF

    #CFE0FF

    oklch(90.4% 0.046 262.5)

  • #FACEFF

    #FACEFF

    oklch(90.4% 0.081 322.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFE796

    #DFE796

    oklch(90.3% 0.103 113.1)

  • #BBE6FF

    #BBE6FF

    oklch(90.3% 0.056 233.7)

  • #FFD0E2

    #FFD0E2

    oklch(90.3% 0.057 353.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFE796

    #DFE796

    oklch(90.3% 0.103 113.1)

  • #84F4FE

    #84F4FE

    oklch(90.4% 0.104 203.1)

  • #E0D9FF

    #E0D9FF

    oklch(90.3% 0.052 293.8)

  • #FFD3D0

    #FFD3D0

    oklch(90.4% 0.05 22.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #DFE796, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #DFE796 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.