#D9B136#D9B136

#D9B136 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.5% C 0.141 H 90.0°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#D9B136
RGBrgb(217, 177, 54)
HSLhsl(45, 68%, 53%)
HSVhsv(45, 75%, 85%)
CMYKcmyk(0%, 18.4%, 75.1%, 14.9%)
CIE-LABlab(73.85, 2.45, 64.41)
CIE-LCHlch(73.85, 64.46, 87.83°)
OKLaboklab(77.55% 0.0001 0.1414)
OKLCHoklch(77.55% 0.141 90)
XYZxyz(45.0059, 46.4652, 10.0875)
Luminance0.4646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B136 #365ED9
analogous
#D95F36 #D9B136 #AFD936
triadic
#D9B136 #36D9B1 #B136D9
tetradic
#D9B136 #36D95F #365ED9 #D936AF
square
#D9B136 #36D95F #365ED9 #D936AF
split-complementary
#D9B136 #36AFD9 #5F36D9
monochromatic
#7D6418 #B08D21 #D9B136 #E3C569 #ECD99D

Accessibility & contrast

On white

2.04
#D9B136 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#D9B136 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B136
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B136#FFFFFF#000000##000000
##D9B1361.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF21
Deuteranopia (green-blind)
#CFBA3D
Tritanopia (blue-blind)
#EBA299
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d9b136;
/* rgb */ color: rgb(217, 177, 54);
/* oklch */ color: oklch(77.5% 0.141 90.0);
Tailwind
colors: {
  custom: {
    50: '#e9c776',
    500: '#d9b136',
    950: '#000000',
  },
}
SCSS
$custom: #d9b136;
$custom-light: #e9c776;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b136",
  "rgb": {
    "r": 217,
    "g": 177,
    "b": 54
  },
  "hsl": {
    "h": 45.276,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7755,
    "c": 0.14142,
    "h": 90
  },
  "luminance": 0.46462
}

Semantic roles & 50–950 ramp

primary
#D9B136
secondary
#92A4D9
accent
#68EB3D
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D9B136

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

Preview Lab → · Contrast checker → · Palette generator →

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