#D2BF46#D2BF46

#D2BF46 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#D2BF46
RGBrgb(210, 191, 70)
HSLhsl(52, 61%, 55%)
HSVhsv(52, 67%, 82%)
CMYKcmyk(0%, 9%, 66.7%, 17.6%)
CIE-LABlab(76.93, -7.08, 61.04)
CIE-LCHlch(76.93, 61.45, 96.61°)
OKLaboklab(79.87% -0.0249 0.1374)
OKLCHoklch(79.87% 0.14 100.3)
XYZxyz(46.3166, 51.4075, 13.2761)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF46 #4659D2
analogous
#D27946 #D2BF46 #9FD246
triadic
#D2BF46 #46D2BF #BF46D2
tetradic
#D2BF46 #46D279 #4659D2 #D2469F
square
#D2BF46 #46D279 #4659D2 #D2469F
split-complementary
#D2BF46 #469FD2 #7946D2
monochromatic
#7F721F #B09E2B #D2BF46 #DED077 #EAE1A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2BF46#FFFFFF#000000##000000
##D2BF461.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)
#D0BA36
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#E2B2A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2bf46;
/* rgb */ color: rgb(210, 191, 70);
/* oklch */ color: oklch(79.9% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#e3d280',
    500: '#d2bf46',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf46;
$custom-light: #e3d280;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf46",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 70
  },
  "hsl": {
    "h": 51.857,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79867,
    "c": 0.13968,
    "h": 100.3
  },
  "luminance": 0.51405
}

Semantic roles & 50–950 ramp

primary
#D2BF46
secondary
#364186
accent
#5AE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2BF46

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

Preview Lab → · Contrast checker → · Palette generator →

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