#D2B24F#D2B24F

#D2B24F is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.3% C 0.123 H 91.3°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#D2B24F
RGBrgb(210, 178, 79)
HSLhsl(45, 59%, 57%)
HSVhsv(45, 62%, 82%)
CMYKcmyk(0%, 15.2%, 62.4%, 17.6%)
CIE-LABlab(73.62, 0.25, 53.61)
CIE-LCHlch(73.62, 53.61, 89.73°)
OKLaboklab(77.27% -0.0028 0.123)
OKLCHoklch(77.27% 0.123 91.3)
XYZxyz(43.9121, 46.1093, 13.9827)
Luminance0.4611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B24F #4F6FD2
analogous
#D2714F #D2B24F #B0D24F
triadic
#D2B24F #4FD2B2 #B24FD2
tetradic
#D2B24F #4FD271 #4F6FD2 #D24FB0
square
#D2B24F #4FD271 #4F6FD2 #D24FB0
split-complementary
#D2B24F #4FB0D2 #714FD2
monochromatic
#856D22 #B5942E #D2B24F #DEC780 #EBDDB0

Accessibility & contrast

On white

2.05
#D2B24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#D2B24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B24F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B24F#FFFFFF#000000##000000
##D2B24F1.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B044
Deuteranopia (green-blind)
#CCB953
Tritanopia (blue-blind)
#E2A59C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b24f;
/* rgb */ color: rgb(210, 178, 79);
/* oklch */ color: oklch(77.3% 0.123 91.3);
Tailwind
colors: {
  custom: {
    50: '#e3c884',
    500: '#d2b24f',
    950: '#000000',
  },
}
SCSS
$custom: #d2b24f;
$custom-light: #e3c884;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b24f",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 79
  },
  "hsl": {
    "h": 45.344,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.77273,
    "c": 0.12306,
    "h": 91.3
  },
  "luminance": 0.46107
}

Semantic roles & 50–950 ramp

primary
#D2B24F
secondary
#A4B1D9
accent
#6CE245
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B24F

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

Preview Lab → · Contrast checker → · Palette generator →

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