#D4B339#D4B339

#D4B339 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.5% C 0.140 H 93.3°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#D4B339
RGBrgb(212, 179, 57)
HSLhsl(47, 64%, 53%)
HSVhsv(47, 73%, 83%)
CMYKcmyk(0%, 15.6%, 73.1%, 16.9%)
CIE-LABlab(73.89, -0.64, 63.17)
CIE-LCHlch(73.89, 63.17, 90.58°)
OKLaboklab(77.48% -0.0081 0.1396)
OKLCHoklch(77.48% 0.14 93.3)
XYZxyz(44.0124, 46.5352, 10.5341)
Luminance0.4653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B339 #395AD4
analogous
#D46639 #D4B339 #A7D439
triadic
#D4B339 #39D4B3 #B339D4
tetradic
#D4B339 #39D466 #395AD4 #D439A7
square
#D4B339 #39D466 #395AD4 #D439A7
split-complementary
#D4B339 #39A7D4 #6639D4
monochromatic
#78641A #AB8E25 #D4B339 #DFC66B #EADA9E

Accessibility & contrast

On white

2.04
#D4B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#D4B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B339
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B339#FFFFFF#000000##000000
##D4B3391.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B025
Deuteranopia (green-blind)
#CEBA40
Tritanopia (blue-blind)
#E5A59B
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d4b339;
/* rgb */ color: rgb(212, 179, 57);
/* oklch */ color: oklch(77.5% 0.140 93.3);
Tailwind
colors: {
  custom: {
    50: '#e5c977',
    500: '#d4b339',
    950: '#000000',
  },
}
SCSS
$custom: #d4b339;
$custom-light: #e5c977;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b339",
  "rgb": {
    "r": 212,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 47.226,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77479,
    "c": 0.13983,
    "h": 93.3
  },
  "luminance": 0.46533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4B339

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

Preview Lab → · Contrast checker → · Palette generator →

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