#FFDF7B#FFDF7B

#FFDF7B is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 91.0% C 0.125 H 92.0°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#FFDF7B
RGBrgb(255, 223, 123)
HSLhsl(45, 100%, 74%)
HSVhsv(45, 52%, 100%)
CMYKcmyk(0%, 12.5%, 51.8%, 0%)
CIE-LABlab(89.61, -1.11, 52.60)
CIE-LCHlch(89.61, 52.61, 91.21°)
OKLaboklab(91.02% -0.0045 0.1247)
OKLCHoklch(91.02% 0.125 92)
XYZxyz(71.2055, 75.4687, 29.5513)
Luminance0.7547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF7B #7B9BFF
analogous
#FF9D7B #FFDF7B #DDFF7B
triadic
#FFDF7B #7BFFDF #DF7BFF
tetradic
#FFDF7B #7BFF9D #7B9BFF #FF7BDD
square
#FFDF7B #7BFF9D #7B9BFF #FF7BDD
split-complementary
#FFDF7B #7BDDFF #9D7BFF
monochromatic
#FFC101 #FFD03E #FFDF7B #FFEEB8 #FFF8E0

Accessibility & contrast

On white

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

On black

16.09
#FFDF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF7B
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF7B#FFFFFF#000000##000000
##FFDF7B1.001.3016.0916.09
#FFFFFF1.301.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffdf7b;
/* rgb */ color: rgb(255, 223, 123);
/* oklch */ color: oklch(91.0% 0.125 92.0);
Tailwind
colors: {
  custom: {
    50: '#ffe8a3',
    500: '#ffdf7b',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf7b;
$custom-light: #ffe8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf7b",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 123
  },
  "hsl": {
    "h": 45.455,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91015,
    "c": 0.12481,
    "h": 92
  },
  "luminance": 0.75465
}

Semantic roles & 50–950 ramp

primary
#FFDF7B
secondary
#4167DD
accent
#38E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FFDF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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