#D2BF45#D2BF45

#D2BF45 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.9% C 0.140 H 100.3°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#D2BF45
RGBrgb(210, 191, 69)
HSLhsl(52, 61%, 55%)
HSVhsv(52, 67%, 82%)
CMYKcmyk(0%, 9%, 67.1%, 17.6%)
CIE-LABlab(76.92, -7.13, 61.44)
CIE-LCHlch(76.92, 61.85, 96.62°)
OKLaboklab(79.86% -0.0252 0.1381)
OKLCHoklch(79.86% 0.14 100.3)
XYZxyz(46.2853, 51.3950, 13.1113)
Luminance0.5139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF45 #4558D2
analogous
#D27945 #D2BF45 #9FD245
triadic
#D2BF45 #45D2BF #BF45D2
tetradic
#D2BF45 #45D279 #4558D2 #D2459F
square
#D2BF45 #45D279 #4558D2 #D2459F
split-complementary
#D2BF45 #459FD2 #7945D2
monochromatic
#7E711F #AF9D2A #D2BF45 #DED076 #EAE1A8

Accessibility & contrast

On white

1.86
#D2BF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#D2BF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BF45
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BF45#FFFFFF#000000##000000
##D2BF451.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA35
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#E2B2A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2bf45;
/* rgb */ color: rgb(210, 191, 69);
/* oklch */ color: oklch(79.9% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#e3d27f',
    500: '#d2bf45',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf45;
$custom-light: #e3d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf45",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 51.915,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79859,
    "c": 0.1404,
    "h": 100.3
  },
  "luminance": 0.51393
}

Semantic roles & 50–950 ramp

primary
#D2BF45
secondary
#364086
accent
#59E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2BF45

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

Preview Lab → · Contrast checker → · Palette generator →

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