#D4C23B#D4C23B

#D4C23B is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.6% C 0.149 H 101.5°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#D4C23B
RGBrgb(212, 194, 59)
HSLhsl(53, 64%, 53%)
HSVhsv(53, 72%, 83%)
CMYKcmyk(0%, 8.5%, 72.2%, 16.9%)
CIE-LABlab(77.81, -8.33, 66.24)
CIE-LCHlch(77.81, 66.76, 97.17°)
OKLaboklab(80.59% -0.0298 0.1465)
OKLCHoklch(80.59% 0.149 101.5)
XYZxyz(47.2347, 52.8985, 11.8592)
Luminance0.5290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C23B #3B4DD4
analogous
#D4753B #D4C23B #99D43B
triadic
#D4C23B #3BD4C2 #C23BD4
tetradic
#D4C23B #3BD475 #3B4DD4 #D43B99
square
#D4C23B #3BD475 #3B4DD4 #D43B99
split-complementary
#D4C23B #3B99D4 #753BD4
monochromatic
#7A6F1B #AC9C26 #D4C23B #DFD26D #EAE19F

Accessibility & contrast

On white

1.81
#D4C23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#D4C23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C23B
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C23B#FFFFFF#000000##000000
##D4C23B1.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC24
Deuteranopia (green-blind)
#D9C444
Tritanopia (blue-blind)
#E4B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d4c23b;
/* rgb */ color: rgb(212, 194, 59);
/* oklch */ color: oklch(80.6% 0.149 101.5);
Tailwind
colors: {
  custom: {
    50: '#e5d47a',
    500: '#d4c23b',
    950: '#000000',
  },
}
SCSS
$custom: #d4c23b;
$custom-light: #e5d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c23b",
  "rgb": {
    "r": 212,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 52.941,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80591,
    "c": 0.14945,
    "h": 101.5
  },
  "luminance": 0.52896
}

Semantic roles & 50–950 ramp

primary
#D4C23B
secondary
#313B82
accent
#54E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C23B

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

Preview Lab → · Contrast checker → · Palette generator →

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