#D4D45F#D4D45F

#D4D45F is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.7% C 0.139 H 109.0°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#D4D45F
RGBrgb(212, 212, 95)
HSLhsl(60, 58%, 60%)
HSVhsv(60, 55%, 83%)
CMYKcmyk(0%, 0%, 55.2%, 16.9%)
CIE-LABlab(82.87, -15.22, 56.78)
CIE-LCHlch(82.87, 58.78, 105.01°)
OKLaboklab(84.7% -0.0455 0.1318)
OKLCHoklch(84.7% 0.139 109)
XYZxyz(52.7618, 61.9116, 19.9950)
Luminance0.6191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D45F #5F5FD4
analogous
#D4995F #D4D45F #99D45F
triadic
#D4D45F #5FD4D4 #D45FD4
tetradic
#D4D45F #5FD499 #5F5FD4 #D45F99
square
#D4D45F #5FD499 #5F5FD4 #D45F99
split-complementary
#D4D45F #5F99D4 #995FD4
monochromatic
#919127 #C2C234 #D4D45F #E1E18F #EEEEBF

Accessibility & contrast

On white

1.57
#D4D45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#D4D45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D45F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D45F#FFFFFF#000000##000000
##D4D45F1.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC53
Deuteranopia (green-blind)
#E5D065
Tritanopia (blue-blind)
#E1C8BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d4d45f;
/* rgb */ color: rgb(212, 212, 95);
/* oklch */ color: oklch(84.7% 0.139 109.0);
Tailwind
colors: {
  custom: {
    50: '#e4e190',
    500: '#d4d45f',
    950: '#000000',
  },
}
SCSS
$custom: #d4d45f;
$custom-light: #e4e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d45f",
  "rgb": {
    "r": 212,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 60,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84703,
    "c": 0.1394,
    "h": 109
  },
  "luminance": 0.6191
}

Semantic roles & 50–950 ramp

primary
#D4D45F
secondary
#404097
accent
#20C520
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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