#D2BA4F#D2BA4F

#D2BA4F is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.9% C 0.129 H 96.7°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#D2BA4F
RGBrgb(210, 186, 79)
HSLhsl(49, 59%, 57%)
HSVhsv(49, 62%, 82%)
CMYKcmyk(0%, 11.4%, 62.4%, 17.6%)
CIE-LABlab(75.69, -3.94, 55.89)
CIE-LCHlch(75.69, 56.03, 94.03°)
OKLaboklab(78.91% -0.0149 0.1279)
OKLCHoklch(78.91% 0.129 96.7)
XYZxyz(45.5505, 49.3861, 14.5288)
Luminance0.4938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BA4F #4F67D2
analogous
#D2794F #D2BA4F #A8D24F
triadic
#D2BA4F #4FD2BA #BA4FD2
tetradic
#D2BA4F #4FD279 #4F67D2 #D24FA8
square
#D2BA4F #4FD279 #4F67D2 #D24FA8
split-complementary
#D2BA4F #4FA8D2 #794FD2
monochromatic
#857322 #B59D2E #D2BA4F #DECD80 #EBE0B0

Accessibility & contrast

On white

1.93
#D2BA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#D2BA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BA4F
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BA4F#FFFFFF#000000##000000
##D2BA4F1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB643
Deuteranopia (green-blind)
#D2BE54
Tritanopia (blue-blind)
#E2ADA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d2ba4f;
/* rgb */ color: rgb(210, 186, 79);
/* oklch */ color: oklch(78.9% 0.129 96.7);
Tailwind
colors: {
  custom: {
    50: '#e3ce85',
    500: '#d2ba4f',
    950: '#000000',
  },
}
SCSS
$custom: #d2ba4f;
$custom-light: #e3ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ba4f",
  "rgb": {
    "r": 210,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 49.008,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78913,
    "c": 0.12876,
    "h": 96.7
  },
  "luminance": 0.49384
}

Semantic roles & 50–950 ramp

primary
#D2BA4F
secondary
#A4ADD9
accent
#62E245
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2BA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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