#D2BE40#D2BE40

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

Color values

HEX#D2BE40
RGBrgb(210, 190, 64)
HSLhsl(52, 62%, 54%)
HSVhsv(52, 70%, 82%)
CMYKcmyk(0%, 9.5%, 69.5%, 17.6%)
CIE-LABlab(76.62, -6.89, 63.12)
CIE-LCHlch(76.62, 63.50, 96.23°)
OKLaboklab(79.61% -0.025 0.1408)
OKLCHoklch(79.61% 0.143 100.1)
XYZxyz(45.9193, 50.9008, 12.2556)
Luminance0.5090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BE40 #4054D2
analogous
#D27540 #D2BE40 #9DD240
triadic
#D2BE40 #40D2BE #BE40D2
tetradic
#D2BE40 #40D275 #4054D2 #D2409D
square
#D2BE40 #40D275 #4054D2 #D2409D
split-complementary
#D2BE40 #409DD2 #7540D2
monochromatic
#7B6E1D #AC9A29 #D2BE40 #DECF72 #E9E0A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2BE40#FFFFFF#000000##000000
##D2BE401.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)
#D0B92D
Deuteranopia (green-blind)
#D5C048
Tritanopia (blue-blind)
#E2B0A5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d2be40;
/* rgb */ color: rgb(210, 190, 64);
/* oklch */ color: oklch(79.6% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#e3d17c',
    500: '#d2be40',
    950: '#000000',
  },
}
SCSS
$custom: #d2be40;
$custom-light: #e3d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2be40",
  "rgb": {
    "r": 210,
    "g": 190,
    "b": 64
  },
  "hsl": {
    "h": 51.781,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7961,
    "c": 0.14304,
    "h": 100.1
  },
  "luminance": 0.50899
}

Semantic roles & 50–950 ramp

primary
#D2BE40
secondary
#343E83
accent
#59E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2BE40

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

Preview Lab → · Contrast checker → · Palette generator →

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