#D2BE5A#D2BE5A

#D2BE5A is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.9% C 0.123 H 98.2°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#D2BE5A
RGBrgb(210, 190, 90)
HSLhsl(50, 57%, 59%)
HSVhsv(50, 57%, 82%)
CMYKcmyk(0%, 9.5%, 57.1%, 17.6%)
CIE-LABlab(76.84, -5.24, 52.17)
CIE-LCHlch(76.84, 52.43, 95.74°)
OKLaboklab(79.86% -0.0174 0.1213)
OKLCHoklch(79.86% 0.123 98.2)
XYZxyz(46.8390, 51.2687, 17.0995)
Luminance0.5127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BE5A #5A6ED2
analogous
#D2825A #D2BE5A #AAD25A
triadic
#D2BE5A #5AD2BE #BE5AD2
tetradic
#D2BE5A #5AD282 #5A6ED2 #D25AAA
square
#D2BE5A #5AD282 #5A6ED2 #D25AAA
split-complementary
#D2BE5A #5AAAD2 #825AD2
monochromatic
#8C7B26 #BCA533 #D2BE5A #DFD18A #ECE4BA

Accessibility & contrast

On white

1.87
#D2BE5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#D2BE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BE5A
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BE5A#FFFFFF#000000##000000
##D2BE5A1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA50
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#E1B2A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2be5a;
/* rgb */ color: rgb(210, 190, 90);
/* oklch */ color: oklch(79.9% 0.123 98.2);
Tailwind
colors: {
  custom: {
    50: '#e2d18c',
    500: '#d2be5a',
    950: '#000000',
  },
}
SCSS
$custom: #d2be5a;
$custom-light: #e2d18c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2be5a",
  "rgb": {
    "r": 210,
    "g": 190,
    "b": 90
  },
  "hsl": {
    "h": 50,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79858,
    "c": 0.12258,
    "h": 98.2
  },
  "luminance": 0.51267
}

Semantic roles & 50–950 ramp

primary
#D2BE5A
secondary
#3E4C92
accent
#61E047
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2BE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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