#C4C02B#C4C02B

#C4C02B is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.7% C 0.158 H 107.9°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#C4C02B
RGBrgb(196, 192, 43)
HSLhsl(58, 64%, 47%)
HSVhsv(58, 78%, 77%)
CMYKcmyk(0%, 2%, 78.1%, 23.1%)
CIE-LABlab(75.83, -14.82, 69.17)
CIE-LCHlch(75.83, 70.74, 102.09°)
OKLaboklab(78.66% -0.0486 0.1504)
OKLCHoklch(78.66% 0.158 107.9)
XYZxyz(42.0523, 49.6109, 9.6458)
Luminance0.4961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C02B #2B2FC4
analogous
#C4732B #C4C02B #7CC42B
triadic
#C4C02B #2BC4C0 #C02BC4
tetradic
#C4C02B #2BC473 #2B2FC4 #C42B7C
square
#C4C02B #2BC473 #2B2FC4 #C42B7C
split-complementary
#C4C02B #2B7CC4 #732BC4
monochromatic
#605E15 #928F20 #C4C02B #D9D653 #E4E285

Accessibility & contrast

On white

1.92
#C4C02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#C4C02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C02B
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C02B#FFFFFF#000000##000000
##C4C02B1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D3BD38
Tritanopia (blue-blind)
#D3B3A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c4c02b;
/* rgb */ color: rgb(196, 192, 43);
/* oklch */ color: oklch(78.7% 0.158 107.9);
Tailwind
colors: {
  custom: {
    50: '#dad272',
    500: '#c4c02b',
    950: '#000000',
  },
}
SCSS
$custom: #c4c02b;
$custom-light: #dad272;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c02b",
  "rgb": {
    "r": 196,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 58.431,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78656,
    "c": 0.15803,
    "h": 107.9
  },
  "luminance": 0.49609
}

Semantic roles & 50–950 ramp

primary
#C4C02B
secondary
#7D7FCE
accent
#45E741
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C4C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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