#D2BF4F#D2BF4F

#D2BF4F is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.133 H 99.7°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#D2BF4F
RGBrgb(210, 191, 79)
HSLhsl(51, 59%, 57%)
HSVhsv(51, 62%, 82%)
CMYKcmyk(0%, 9%, 62.4%, 17.6%)
CIE-LABlab(77.00, -6.53, 57.31)
CIE-LCHlch(77.00, 57.68, 96.50°)
OKLaboklab(79.95% -0.0223 0.1309)
OKLCHoklch(79.95% 0.133 99.7)
XYZxyz(46.6223, 51.5298, 14.8861)
Luminance0.5153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF4F #4F62D2
analogous
#D27E4F #D2BF4F #A4D24F
triadic
#D2BF4F #4FD2BF #BF4FD2
tetradic
#D2BF4F #4FD27E #4F62D2 #D24FA4
square
#D2BF4F #4FD27E #4F62D2 #D24FA4
split-complementary
#D2BF4F #4FA4D2 #7E4FD2
monochromatic
#857622 #B5A22E #D2BF4F #DED180 #EBE2B0

Accessibility & contrast

On white

1.86
#D2BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#D2BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BF4F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BF4F#FFFFFF#000000##000000
##D2BF4F1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA42
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#E1B2A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2bf4f;
/* rgb */ color: rgb(210, 191, 79);
/* oklch */ color: oklch(79.9% 0.133 99.7);
Tailwind
colors: {
  custom: {
    50: '#e3d285',
    500: '#d2bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf4f;
$custom-light: #e3d285;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf4f",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 51.298,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79949,
    "c": 0.1328,
    "h": 99.7
  },
  "luminance": 0.51528
}

Semantic roles & 50–950 ramp

primary
#D2BF4F
secondary
#3A468C
accent
#5CE245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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