#D2BE4F#D2BE4F

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

Color values

HEX#D2BE4F
RGBrgb(210, 190, 79)
HSLhsl(51, 59%, 57%)
HSVhsv(51, 62%, 82%)
CMYKcmyk(0%, 9.5%, 62.4%, 17.6%)
CIE-LABlab(76.74, -6.01, 57.03)
CIE-LCHlch(76.74, 57.34, 96.02°)
OKLaboklab(79.74% -0.0209 0.1303)
OKLCHoklch(79.74% 0.132 99.1)
XYZxyz(46.4050, 51.0951, 14.8136)
Luminance0.5109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BE4F #4F63D2
analogous
#D27D4F #D2BE4F #A5D24F
triadic
#D2BE4F #4FD2BE #BE4FD2
tetradic
#D2BE4F #4FD27D #4F63D2 #D24FA5
square
#D2BE4F #4FD27D #4F63D2 #D24FA5
split-complementary
#D2BE4F #4FA5D2 #7D4FD2
monochromatic
#857622 #B5A12E #D2BE4F #DED080 #EBE2B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2BE4F#FFFFFF#000000##000000
##D2BE4F1.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)
#CFB942
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#E1B1A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d2be4f;
/* rgb */ color: rgb(210, 190, 79);
/* oklch */ color: oklch(79.7% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#e3d185',
    500: '#d2be4f',
    950: '#000000',
  },
}
SCSS
$custom: #d2be4f;
$custom-light: #e3d185;
$custom-dark: #000000;
JSON
{
  "hex": "#d2be4f",
  "rgb": {
    "r": 210,
    "g": 190,
    "b": 79
  },
  "hsl": {
    "h": 50.84,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79741,
    "c": 0.13197,
    "h": 99.1
  },
  "luminance": 0.51093
}

Semantic roles & 50–950 ramp

primary
#D2BE4F
secondary
#3A468C
accent
#5DE245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2BE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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