#D9CB4B#D9CB4B

#D9CB4B is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.146 H 103.0°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D9CB4B
RGBrgb(217, 203, 75)
HSLhsl(54, 65%, 57%)
HSVhsv(54, 65%, 85%)
CMYKcmyk(0%, 6.5%, 65.4%, 14.9%)
CIE-LABlab(80.72, -9.97, 63.14)
CIE-LCHlch(80.72, 63.92, 98.97°)
OKLaboklab(83.04% -0.033 0.1425)
OKLCHoklch(83.04% 0.146 103)
XYZxyz(51.2433, 57.9736, 15.1460)
Luminance0.5797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CB4B #4B59D9
analogous
#D9844B #D9CB4B #A0D94B
triadic
#D9CB4B #4BD9CB #CB4BD9
tetradic
#D9CB4B #4BD984 #4B59D9 #D94BA0
square
#D9CB4B #4BD984 #4B59D9 #D94BA0
split-complementary
#D9CB4B #4BA0D9 #844BD9
monochromatic
#8C811E #BFB028 #D9CB4B #E4DA7E #EEE8B0

Accessibility & contrast

On white

1.67
#D9CB4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#D9CB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CB4B
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CB4B#FFFFFF#000000##000000
##D9CB4B1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53A
Deuteranopia (green-blind)
#E1CB53
Tritanopia (blue-blind)
#E9BDB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d9cb4b;
/* rgb */ color: rgb(217, 203, 75);
/* oklch */ color: oklch(83.0% 0.146 103.0);
Tailwind
colors: {
  custom: {
    50: '#e8da84',
    500: '#d9cb4b',
    950: '#000000',
  },
}
SCSS
$custom: #d9cb4b;
$custom-light: #e8da84;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cb4b",
  "rgb": {
    "r": 217,
    "g": 203,
    "b": 75
  },
  "hsl": {
    "h": 54.085,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83041,
    "c": 0.14624,
    "h": 103
  },
  "luminance": 0.57972
}

Semantic roles & 50–950 ramp

primary
#D9CB4B
secondary
#363F92
accent
#50E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9CB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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