#D2B64F#D2B64F

#D2B64F is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.1% C 0.126 H 94.1°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#D2B64F
RGBrgb(210, 182, 79)
HSLhsl(47, 59%, 57%)
HSVhsv(47, 62%, 82%)
CMYKcmyk(0%, 13.3%, 62.4%, 17.6%)
CIE-LABlab(74.65, -1.85, 54.75)
CIE-LCHlch(74.65, 54.78, 91.93°)
OKLaboklab(78.09% -0.0089 0.1255)
OKLCHoklch(78.09% 0.126 94.1)
XYZxyz(44.7196, 47.7243, 14.2518)
Luminance0.4772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B64F #4F6BD2
analogous
#D2754F #D2B64F #ACD24F
triadic
#D2B64F #4FD2B6 #B64FD2
tetradic
#D2B64F #4FD275 #4F6BD2 #D24FAC
square
#D2B64F #4FD275 #4F6BD2 #D24FAC
split-complementary
#D2B64F #4FACD2 #754FD2
monochromatic
#857022 #B5992E #D2B64F #DECA80 #EBDEB0

Accessibility & contrast

On white

1.99
#D2B64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#D2B64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B64F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B64F#FFFFFF#000000##000000
##D2B64F1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B344
Deuteranopia (green-blind)
#CFBB54
Tritanopia (blue-blind)
#E2A9A0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b64f;
/* rgb */ color: rgb(210, 182, 79);
/* oklch */ color: oklch(78.1% 0.126 94.1);
Tailwind
colors: {
  custom: {
    50: '#e3cb84',
    500: '#d2b64f',
    950: '#000000',
  },
}
SCSS
$custom: #d2b64f;
$custom-light: #e3cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b64f",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 79
  },
  "hsl": {
    "h": 47.176,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7809,
    "c": 0.12578,
    "h": 94.1
  },
  "luminance": 0.47722
}

Semantic roles & 50–950 ramp

primary
#D2B64F
secondary
#A4AFD9
accent
#67E245
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B64F

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

Preview Lab → · Contrast checker → · Palette generator →

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