#D4B450#D4B450

#D4B450 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.9% C 0.124 H 91.5°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#D4B450
RGBrgb(212, 180, 80)
HSLhsl(45, 61%, 57%)
HSVhsv(45, 62%, 83%)
CMYKcmyk(0%, 15.1%, 62.3%, 16.9%)
CIE-LABlab(74.33, 0.12, 54.00)
CIE-LCHlch(74.33, 54.00, 89.88°)
OKLaboklab(77.89% -0.0032 0.1239)
OKLCHoklch(77.89% 0.124 91.5)
XYZxyz(44.9227, 47.2212, 14.3363)
Luminance0.4722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B450 #5070D4
analogous
#D47250 #D4B450 #B2D450
triadic
#D4B450 #50D4B4 #B450D4
tetradic
#D4B450 #50D472 #5070D4 #D450B2
square
#D4B450 #50D472 #5070D4 #D450B2
split-complementary
#D4B450 #50B2D4 #7250D4
monochromatic
#886F21 #B9972E #D4B450 #E0C981 #ECDEB2

Accessibility & contrast

On white

2.01
#D4B450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#D4B450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B450
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B450#FFFFFF#000000##000000
##D4B4501.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B145
Deuteranopia (green-blind)
#CEBB54
Tritanopia (blue-blind)
#E4A79E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d4b450;
/* rgb */ color: rgb(212, 180, 80);
/* oklch */ color: oklch(77.9% 0.124 91.5);
Tailwind
colors: {
  custom: {
    50: '#e4ca85',
    500: '#d4b450',
    950: '#000000',
  },
}
SCSS
$custom: #d4b450;
$custom-light: #e4ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b450",
  "rgb": {
    "r": 212,
    "g": 180,
    "b": 80
  },
  "hsl": {
    "h": 45.455,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.77885,
    "c": 0.12398,
    "h": 91.5
  },
  "luminance": 0.47219
}

Semantic roles & 50–950 ramp

primary
#D4B450
secondary
#A5B2DB
accent
#6BE444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B450

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

Preview Lab → · Contrast checker → · Palette generator →

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