#D2BE4C#D2BE4C

#D2BE4C is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.7% C 0.134 H 99.3°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#D2BE4C
RGBrgb(210, 190, 76)
HSLhsl(51, 60%, 56%)
HSVhsv(51, 64%, 82%)
CMYKcmyk(0%, 9.5%, 63.8%, 17.6%)
CIE-LABlab(76.71, -6.21, 58.30)
CIE-LCHlch(76.71, 58.63, 96.08°)
OKLaboklab(79.71% -0.0218 0.1326)
OKLCHoklch(79.71% 0.134 99.3)
XYZxyz(46.2983, 51.0524, 14.2515)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BE4C #4C60D2
analogous
#D27B4C #D2BE4C #A3D24C
triadic
#D2BE4C #4CD2BE #BE4CD2
tetradic
#D2BE4C #4CD27B #4C60D2 #D24CA3
square
#D2BE4C #4CD27B #4C60D2 #D24CA3
split-complementary
#D2BE4C #4CA3D2 #7B4CD2
monochromatic
#837421 #B4A02D #D2BE4C #DED07D #EBE2AE

Accessibility & contrast

On white

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

On black

11.21
#D2BE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BE4C
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BE4C#FFFFFF#000000##000000
##D2BE4C1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2be4c;
/* rgb */ color: rgb(210, 190, 76);
/* oklch */ color: oklch(79.7% 0.134 99.3);
Tailwind
colors: {
  custom: {
    50: '#e3d183',
    500: '#d2be4c',
    950: '#000000',
  },
}
SCSS
$custom: #d2be4c;
$custom-light: #e3d183;
$custom-dark: #000000;
JSON
{
  "hex": "#d2be4c",
  "rgb": {
    "r": 210,
    "g": 190,
    "b": 76
  },
  "hsl": {
    "h": 51.045,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79712,
    "c": 0.13435,
    "h": 99.3
  },
  "luminance": 0.5105
}

Semantic roles & 50–950 ramp

primary
#D2BE4C
secondary
#38458A
accent
#5CE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2BE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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