#FFDF7E#FFDF7E

#FFDF7E is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 91.1% C 0.122 H 91.6°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#FFDF7E
RGBrgb(255, 223, 126)
HSLhsl(45, 100%, 75%)
HSVhsv(45, 51%, 100%)
CMYKcmyk(0%, 12.5%, 50.6%, 0%)
CIE-LABlab(89.65, -0.86, 51.21)
CIE-LCHlch(89.65, 51.22, 90.96°)
OKLaboklab(91.05% -0.0034 0.1219)
OKLCHoklch(91.05% 0.122 91.6)
XYZxyz(71.3961, 75.5450, 30.5555)
Luminance0.7554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF7E #7E9EFF
analogous
#FF9E7E #FFDF7E #DFFF7E
triadic
#FFDF7E #7EFFDF #DF7EFF
tetradic
#FFDF7E #7EFF9E #7E9EFF #FF7EDF
square
#FFDF7E #7EFF9E #7E9EFF #FF7EDF
split-complementary
#FFDF7E #7EDFFF #9E7EFF
monochromatic
#FFC104 #FFD041 #FFDF7E #FFEEBB #FFF7E0

Accessibility & contrast

On white

1.30
#FFDF7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.11
#FFDF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF7E
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF7E#FFFFFF#000000##000000
##FFDF7E1.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC76
Deuteranopia (green-blind)
#FAE582
Tritanopia (blue-blind)
#FFD1C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ffdf7e;
/* rgb */ color: rgb(255, 223, 126);
/* oklch */ color: oklch(91.1% 0.122 91.6);
Tailwind
colors: {
  custom: {
    50: '#ffe8a5',
    500: '#ffdf7e',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf7e;
$custom-light: #ffe8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf7e",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 126
  },
  "hsl": {
    "h": 45.116,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.91054,
    "c": 0.12197,
    "h": 91.6
  },
  "luminance": 0.75542
}

Semantic roles & 50–950 ramp

primary
#FFDF7E
secondary
#436ADE
accent
#39E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FFDF7E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FFDF7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva