#C4C23C#C4C23C

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

Color values

HEX#C4C23C
RGBrgb(196, 194, 60)
HSLhsl(59, 54%, 50%)
HSVhsv(59, 69%, 77%)
CMYKcmyk(0%, 1%, 69.4%, 23.1%)
CIE-LABlab(76.46, -15.09, 64.09)
CIE-LCHlch(76.46, 65.84, 103.25°)
OKLaboklab(79.19% -0.0478 0.1427)
OKLCHoklch(79.19% 0.15 108.5)
XYZxyz(42.8739, 50.6469, 11.7915)
Luminance0.5065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C23C #3C3EC4
analogous
#C47E3C #C4C23C #82C43C
triadic
#C4C23C #3CC4C2 #C23CC4
tetradic
#C4C23C #3CC47E #3C3EC4 #C43C82
square
#C4C23C #3CC47E #3C3EC4 #C43C82
split-complementary
#C4C23C #3C82C4 #7E3CC4
monochromatic
#67661F #96942D #C4C23C #D2D16B #E0DF9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C23C#FFFFFF#000000##000000
##C4C23C1.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)
#D2BA26
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#D2B6A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c4c23c;
/* rgb */ color: rgb(196, 194, 60);
/* oklch */ color: oklch(79.2% 0.150 108.5);
Tailwind
colors: {
  custom: {
    50: '#d9d47a',
    500: '#c4c23c',
    950: '#000000',
  },
}
SCSS
$custom: #c4c23c;
$custom-light: #d9d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c23c",
  "rgb": {
    "r": 196,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 59.118,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79192,
    "c": 0.15046,
    "h": 108.5
  },
  "luminance": 0.50646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4C23C

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

Preview Lab → · Contrast checker → · Palette generator →

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