#D2BE3F#D2BE3F

#D2BE3F is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.6% C 0.144 H 100.1°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#D2BE3F
RGBrgb(210, 190, 63)
HSLhsl(52, 62%, 54%)
HSVhsv(52, 70%, 82%)
CMYKcmyk(0%, 9.5%, 70%, 17.6%)
CIE-LABlab(76.61, -6.94, 63.50)
CIE-LCHlch(76.61, 63.88, 96.23°)
OKLaboklab(79.6% -0.0253 0.1415)
OKLCHoklch(79.6% 0.144 100.1)
XYZxyz(45.8911, 50.8895, 12.1071)
Luminance0.5089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BE3F #3F53D2
analogous
#D2743F #D2BE3F #9CD23F
triadic
#D2BE3F #3FD2BE #BE3FD2
tetradic
#D2BE3F #3FD274 #3F53D2 #D23F9C
square
#D2BE3F #3FD274 #3F53D2 #D23F9C
split-complementary
#D2BE3F #3F9CD2 #743FD2
monochromatic
#7A6D1D #AC9A28 #D2BE3F #DECF71 #E9E0A2

Accessibility & contrast

On white

1.88
#D2BE3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#D2BE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BE3F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BE3F#FFFFFF#000000##000000
##D2BE3F1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#D5C047
Tritanopia (blue-blind)
#E2B0A5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d2be3f;
/* rgb */ color: rgb(210, 190, 63);
/* oklch */ color: oklch(79.6% 0.144 100.1);
Tailwind
colors: {
  custom: {
    50: '#e3d17c',
    500: '#d2be3f',
    950: '#000000',
  },
}
SCSS
$custom: #d2be3f;
$custom-light: #e3d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2be3f",
  "rgb": {
    "r": 210,
    "g": 190,
    "b": 63
  },
  "hsl": {
    "h": 51.837,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79603,
    "c": 0.1437,
    "h": 100.1
  },
  "luminance": 0.50887
}

Semantic roles & 50–950 ramp

primary
#D2BE3F
secondary
#333E82
accent
#59E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2BE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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