#D4BF23#D4BF23

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

Color values

HEX#D4BF23
RGBrgb(212, 191, 35)
HSLhsl(53, 72%, 48%)
HSVhsv(53, 83%, 83%)
CMYKcmyk(0%, 9.9%, 83.5%, 16.9%)
CIE-LABlab(76.91, -7.66, 72.81)
CIE-LCHlch(76.91, 73.21, 96.01°)
OKLaboklab(79.84% -0.0299 0.156)
OKLCHoklch(79.84% 0.159 100.9)
XYZxyz(46.0879, 51.3823, 9.0800)
Luminance0.5138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF23 #2338D4
analogous
#D46623 #D4BF23 #90D423
triadic
#D4BF23 #23D4BF #BF23D4
tetradic
#D4BF23 #23D466 #2338D4 #D42390
square
#D4BF23 #23D466 #2338D4 #D42390
split-complementary
#D4BF23 #2390D4 #6623D4
monochromatic
#6B6012 #9F901A #D4BF23 #E2D152 #EBDF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4BF23#FFFFFF#000000##000000
##D4BF231.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)
#D2B900
Deuteranopia (green-blind)
#D8C131
Tritanopia (blue-blind)
#E5B0A3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d4bf23;
/* rgb */ color: rgb(212, 191, 35);
/* oklch */ color: oklch(79.8% 0.159 100.9);
Tailwind
colors: {
  custom: {
    50: '#e6d16f',
    500: '#d4bf23',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf23;
$custom-light: #e6d16f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf23",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 35
  },
  "hsl": {
    "h": 52.881,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79836,
    "c": 0.15887,
    "h": 100.9
  },
  "luminance": 0.5138
}

Semantic roles & 50–950 ramp

primary
#D4BF23
secondary
#273075
accent
#4FEE39
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171408
muted
#85837D

Preview Lab

Preview with #D4BF23

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

Preview Lab → · Contrast checker → · Palette generator →

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