#C4C23B#C4C23B

#C4C23B is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.2% C 0.151 H 108.6°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#C4C23B
RGBrgb(196, 194, 59)
HSLhsl(59, 54%, 50%)
HSVhsv(59, 70%, 77%)
CMYKcmyk(0%, 1%, 69.9%, 23.1%)
CIE-LABlab(76.46, -15.14, 64.45)
CIE-LCHlch(76.46, 66.21, 103.22°)
OKLaboklab(79.19% -0.0481 0.1432)
OKLCHoklch(79.19% 0.151 108.6)
XYZxyz(42.8477, 50.6364, 11.6536)
Luminance0.5063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C23B #3B3DC4
analogous
#C47D3B #C4C23B #82C43B
triadic
#C4C23B #3BC4C2 #C23BC4
tetradic
#C4C23B #3BC47D #3B3DC4 #C43B82
square
#C4C23B #3BC47D #3B3DC4 #C43B82
split-complementary
#C4C23B #3B82C4 #7D3BC4
monochromatic
#66651F #95932D #C4C23B #D2D16A #E0DF99

Accessibility & contrast

On white

1.89
#C4C23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#C4C23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C23B
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C23B#FFFFFF#000000##000000
##C4C23B1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA24
Deuteranopia (green-blind)
#D4BF45
Tritanopia (blue-blind)
#D2B6A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c4c23b;
/* rgb */ color: rgb(196, 194, 59);
/* oklch */ color: oklch(79.2% 0.151 108.6);
Tailwind
colors: {
  custom: {
    50: '#d9d47a',
    500: '#c4c23b',
    950: '#000000',
  },
}
SCSS
$custom: #c4c23b;
$custom-light: #d9d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c23b",
  "rgb": {
    "r": 196,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 59.124,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.79185,
    "c": 0.1511,
    "h": 108.6
  },
  "luminance": 0.50635
}

Semantic roles & 50–950 ramp

primary
#C4C23B
secondary
#333470
accent
#4DDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4C23B

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

Preview Lab → · Contrast checker → · Palette generator →

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