#D2BF62#D2BF62

#D2BF62 is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.2% C 0.116 H 98.0°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#D2BF62
RGBrgb(210, 191, 98)
HSLhsl(50, 55%, 60%)
HSVhsv(50, 53%, 82%)
CMYKcmyk(0%, 9%, 53.3%, 17.6%)
CIE-LABlab(77.19, -5.13, 48.79)
CIE-LCHlch(77.19, 49.05, 96.00°)
OKLaboklab(80.16% -0.0161 0.1149)
OKLCHoklch(80.16% 0.116 98)
XYZxyz(47.4154, 51.8470, 19.0628)
Luminance0.5184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF62 #6275D2
analogous
#D28762 #D2BF62 #ADD262
triadic
#D2BF62 #62D2BF #BF62D2
tetradic
#D2BF62 #62D287 #6275D2 #D262AD
square
#D2BF62 #62D287 #6275D2 #D262AD
split-complementary
#D2BF62 #62ADD2 #8762D2
monochromatic
#907F29 #C0A937 #D2BF62 #E0D292 #EDE6C1

Accessibility & contrast

On white

1.85
#D2BF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#D2BF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BF62
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BF62#FFFFFF#000000##000000
##D2BF621.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#D4C266
Tritanopia (blue-blind)
#E0B3AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2bf62;
/* rgb */ color: rgb(210, 191, 98);
/* oklch */ color: oklch(80.2% 0.116 98.0);
Tailwind
colors: {
  custom: {
    50: '#e2d291',
    500: '#d2bf62',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf62;
$custom-light: #e2d291;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf62",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 98
  },
  "hsl": {
    "h": 49.821,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80161,
    "c": 0.116,
    "h": 98
  },
  "luminance": 0.51845
}

Semantic roles & 50–950 ramp

primary
#D2BF62
secondary
#425096
accent
#3EC323
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2BF62

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

Preview Lab → · Contrast checker → · Palette generator →

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