#D2BE4E#D2BE4E

#D2BE4E is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.7% C 0.133 H 99.2°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#D2BE4E
RGBrgb(210, 190, 78)
HSLhsl(51, 59%, 56%)
HSVhsv(51, 63%, 82%)
CMYKcmyk(0%, 9.5%, 62.9%, 17.6%)
CIE-LABlab(76.73, -6.08, 57.45)
CIE-LCHlch(76.73, 57.77, 96.04°)
OKLaboklab(79.73% -0.0212 0.1311)
OKLCHoklch(79.73% 0.133 99.2)
XYZxyz(46.3689, 51.0807, 14.6234)
Luminance0.5108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BE4E #4E62D2
analogous
#D27C4E #D2BE4E #A4D24E
triadic
#D2BE4E #4ED2BE #BE4ED2
tetradic
#D2BE4E #4ED27C #4E62D2 #D24EA4
square
#D2BE4E #4ED27C #4E62D2 #D24EA4
split-complementary
#D2BE4E #4EA4D2 #7C4ED2
monochromatic
#847522 #B5A02E #D2BE4E #DED07F #EBE2B0

Accessibility & contrast

On white

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

On black

11.22
#D2BE4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BE4E
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BE4E#FFFFFF#000000##000000
##D2BE4E1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB941
Deuteranopia (green-blind)
#D5C154
Tritanopia (blue-blind)
#E1B1A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d2be4e;
/* rgb */ color: rgb(210, 190, 78);
/* oklch */ color: oklch(79.7% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#e3d184',
    500: '#d2be4e',
    950: '#000000',
  },
}
SCSS
$custom: #d2be4e;
$custom-light: #e3d184;
$custom-dark: #000000;
JSON
{
  "hex": "#d2be4e",
  "rgb": {
    "r": 210,
    "g": 190,
    "b": 78
  },
  "hsl": {
    "h": 50.909,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79732,
    "c": 0.13277,
    "h": 99.2
  },
  "luminance": 0.51079
}

Semantic roles & 50–950 ramp

primary
#D2BE4E
secondary
#39468B
accent
#5DE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2BE4E

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

Preview Lab → · Contrast checker → · Palette generator →

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