#D4B442#D4B442

#D4B442 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.8% C 0.135 H 93.1°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#D4B442
RGBrgb(212, 180, 66)
HSLhsl(47, 63%, 55%)
HSVhsv(47, 69%, 83%)
CMYKcmyk(0%, 15.1%, 68.9%, 16.9%)
CIE-LABlab(74.21, -0.72, 59.94)
CIE-LCHlch(74.21, 59.95, 90.69°)
OKLaboklab(77.75% -0.0073 0.1344)
OKLCHoklch(77.75% 0.135 93.1)
XYZxyz(44.4583, 47.0354, 11.8902)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B442 #4262D4
analogous
#D46B42 #D4B442 #ABD442
triadic
#D4B442 #42D4B4 #B442D4
tetradic
#D4B442 #42D46B #4262D4 #D442AB
square
#D4B442 #42D46B #4262D4 #D442AB
split-complementary
#D4B442 #42ABD4 #6B42D4
monochromatic
#7F691D #B19328 #D4B442 #DFC874 #EBDCA6

Accessibility & contrast

On white

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

On black

10.41
#D4B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B442
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B442#FFFFFF#000000##000000
##D4B4421.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B133
Deuteranopia (green-blind)
#CFBA48
Tritanopia (blue-blind)
#E5A69D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d4b442;
/* rgb */ color: rgb(212, 180, 66);
/* oklch */ color: oklch(77.8% 0.135 93.1);
Tailwind
colors: {
  custom: {
    50: '#e5ca7c',
    500: '#d4b442',
    950: '#000000',
  },
}
SCSS
$custom: #d4b442;
$custom-light: #e5ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b442",
  "rgb": {
    "r": 212,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 46.849,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77753,
    "c": 0.13459,
    "h": 93.1
  },
  "luminance": 0.47033
}

Semantic roles & 50–950 ramp

primary
#D4B442
secondary
#9AA8D8
accent
#66E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B442

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

Preview Lab → · Contrast checker → · Palette generator →

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