#D2BF3F#D2BF3F

#D2BF3F is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.8% C 0.145 H 100.7°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#D2BF3F
RGBrgb(210, 191, 63)
HSLhsl(52, 62%, 54%)
HSVhsv(52, 70%, 82%)
CMYKcmyk(0%, 9%, 70%, 17.6%)
CIE-LABlab(76.88, -7.45, 63.76)
CIE-LCHlch(76.88, 64.20, 96.67°)
OKLaboklab(79.81% -0.0268 0.142)
OKLCHoklch(79.81% 0.145 100.7)
XYZxyz(46.1084, 51.3242, 12.1795)
Luminance0.5132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF3F #3F52D2
analogous
#D2753F #D2BF3F #9BD23F
triadic
#D2BF3F #3FD2BF #BF3FD2
tetradic
#D2BF3F #3FD275 #3F52D2 #D23F9B
square
#D2BF3F #3FD275 #3F52D2 #D23F9B
split-complementary
#D2BF3F #3F9BD2 #753FD2
monochromatic
#7A6E1D #AC9B28 #D2BF3F #DED071 #E9E0A2

Accessibility & contrast

On white

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

On black

11.26
#D2BF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BF3F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BF3F#FFFFFF#000000##000000
##D2BF3F1.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2C
Deuteranopia (green-blind)
#D6C147
Tritanopia (blue-blind)
#E2B1A5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2bf3f;
/* rgb */ color: rgb(210, 191, 63);
/* oklch */ color: oklch(79.8% 0.145 100.7);
Tailwind
colors: {
  custom: {
    50: '#e3d27c',
    500: '#d2bf3f',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf3f;
$custom-light: #e3d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf3f",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 52.245,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79811,
    "c": 0.14451,
    "h": 100.7
  },
  "luminance": 0.51322
}

Semantic roles & 50–950 ramp

primary
#D2BF3F
secondary
#333D82
accent
#58E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2BF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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