#D2BF3E#D2BF3E

#D2BF3E 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#D2BF3E
RGBrgb(210, 191, 62)
HSLhsl(52, 62%, 53%)
HSVhsv(52, 70%, 82%)
CMYKcmyk(0%, 9%, 70.5%, 17.6%)
CIE-LABlab(76.87, -7.50, 64.14)
CIE-LCHlch(76.87, 64.58, 96.67°)
OKLaboklab(79.8% -0.027 0.1426)
OKLCHoklch(79.8% 0.145 100.7)
XYZxyz(46.0807, 51.3131, 12.0337)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF3E #3E51D2
analogous
#D2753E #D2BF3E #9BD23E
triadic
#D2BF3E #3ED2BF #BF3ED2
tetradic
#D2BF3E #3ED275 #3E51D2 #D23E9B
square
#D2BF3E #3ED275 #3E51D2 #D23E9B
split-complementary
#D2BF3E #3E9BD2 #753ED2
monochromatic
#796D1C #AB9A28 #D2BF3E #DECF70 #E9E0A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2BF3E#FFFFFF#000000##000000
##D2BF3E1.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)
#D1BA2A
Deuteranopia (green-blind)
#D6C146
Tritanopia (blue-blind)
#E2B1A5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2bf3e;
/* rgb */ color: rgb(210, 191, 62);
/* oklch */ color: oklch(79.8% 0.145 100.7);
Tailwind
colors: {
  custom: {
    50: '#e4d17b',
    500: '#d2bf3e',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf3e;
$custom-light: #e4d17b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf3e",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 62
  },
  "hsl": {
    "h": 52.297,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79804,
    "c": 0.14516,
    "h": 100.7
  },
  "luminance": 0.51311
}

Semantic roles & 50–950 ramp

primary
#D2BF3E
secondary
#333D81
accent
#57E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2BF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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