#D4B83F#D4B83F

#D4B83F is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.139 H 95.8°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#D4B83F
RGBrgb(212, 184, 63)
HSLhsl(49, 63%, 54%)
HSVhsv(49, 70%, 83%)
CMYKcmyk(0%, 13.2%, 70.3%, 16.9%)
CIE-LABlab(75.23, -2.97, 62.18)
CIE-LCHlch(75.23, 62.25, 92.73°)
OKLaboklab(78.55% -0.0141 0.1386)
OKLCHoklch(78.55% 0.139 95.8)
XYZxyz(45.1913, 48.6393, 11.7096)
Luminance0.4864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B83F #3F5BD4
analogous
#D46E3F #D4B83F #A6D43F
triadic
#D4B83F #3FD4B8 #B83FD4
tetradic
#D4B83F #3FD46E #3F5BD4 #D43FA6
square
#D4B83F #3FD46E #3F5BD4 #D43FA6
split-complementary
#D4B83F #3FA6D4 #6E3FD4
monochromatic
#7D6A1C #AF9527 #D4B83F #DFCA71 #EADDA3

Accessibility & contrast

On white

1.96
#D4B83F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#D4B83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B83F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B83F#FFFFFF#000000##000000
##D4B83F1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42D
Deuteranopia (green-blind)
#D2BD46
Tritanopia (blue-blind)
#E5AAA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d4b83f;
/* rgb */ color: rgb(212, 184, 63);
/* oklch */ color: oklch(78.5% 0.139 95.8);
Tailwind
colors: {
  custom: {
    50: '#e5cc7b',
    500: '#d4b83f',
    950: '#000000',
  },
}
SCSS
$custom: #d4b83f;
$custom-light: #e5cc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b83f",
  "rgb": {
    "r": 212,
    "g": 184,
    "b": 63
  },
  "hsl": {
    "h": 48.725,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78548,
    "c": 0.13931,
    "h": 95.8
  },
  "luminance": 0.48637
}

Semantic roles & 50–950 ramp

primary
#D4B83F
secondary
#98A4D7
accent
#60E641
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B83F

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

Preview Lab → · Contrast checker → · Palette generator →

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