#D4B439#D4B439

#D4B439 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.7% C 0.140 H 93.9°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#D4B439
RGBrgb(212, 180, 57)
HSLhsl(48, 64%, 53%)
HSVhsv(48, 73%, 83%)
CMYKcmyk(0%, 15.1%, 73.1%, 16.9%)
CIE-LABlab(74.15, -1.16, 63.42)
CIE-LCHlch(74.15, 63.43, 91.05°)
OKLaboklab(77.68% -0.0096 0.1401)
OKLCHoklch(77.68% 0.14 93.9)
XYZxyz(44.2135, 46.9375, 10.6011)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B439 #3959D4
analogous
#D46739 #D4B439 #A6D439
triadic
#D4B439 #39D4B4 #B439D4
tetradic
#D4B439 #39D467 #3959D4 #D439A6
square
#D4B439 #39D467 #3959D4 #D439A6
split-complementary
#D4B439 #39A6D4 #6739D4
monochromatic
#78651A #AB8F25 #D4B439 #DFC76B #EADA9E

Accessibility & contrast

On white

2.02
#D4B439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#D4B439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B439
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B439#FFFFFF#000000##000000
##D4B4391.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B125
Deuteranopia (green-blind)
#CFBA40
Tritanopia (blue-blind)
#E5A69C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d4b439;
/* rgb */ color: rgb(212, 180, 57);
/* oklch */ color: oklch(77.7% 0.140 93.9);
Tailwind
colors: {
  custom: {
    50: '#e5ca77',
    500: '#d4b439',
    950: '#000000',
  },
}
SCSS
$custom: #d4b439;
$custom-light: #e5ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b439",
  "rgb": {
    "r": 212,
    "g": 180,
    "b": 57
  },
  "hsl": {
    "h": 47.613,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77684,
    "c": 0.14045,
    "h": 93.9
  },
  "luminance": 0.46935
}

Semantic roles & 50–950 ramp

primary
#D4B439
secondary
#93A1D6
accent
#63E740
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D4B439

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

Preview Lab → · Contrast checker → · Palette generator →

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