#C4C242#C4C242

#C4C242 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.2% C 0.146 H 108.4°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#C4C242
RGBrgb(196, 194, 66)
HSLhsl(59, 52%, 51%)
HSVhsv(59, 66%, 77%)
CMYKcmyk(0%, 1%, 66.3%, 23.1%)
CIE-LABlab(76.51, -14.77, 61.84)
CIE-LCHlch(76.51, 63.58, 103.43°)
OKLaboklab(79.24% -0.0463 0.1389)
OKLCHoklch(79.24% 0.146 108.4)
XYZxyz(43.0416, 50.7140, 12.6747)
Luminance0.5071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C242 #4244C4
analogous
#C48142 #C4C242 #85C442
triadic
#C4C242 #42C4C2 #C242C4
tetradic
#C4C242 #42C481 #4244C4 #C44285
square
#C4C242 #42C481 #4244C4 #C44285
split-complementary
#C4C242 #4285C4 #8142C4
monochromatic
#6A6921 #999730 #C4C242 #D3D171 #E1E09F

Accessibility & contrast

On white

1.88
#C4C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#C4C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C242
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C242#FFFFFF#000000##000000
##C4C2421.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#D3BF4B
Tritanopia (blue-blind)
#D2B6A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c4c242;
/* rgb */ color: rgb(196, 194, 66);
/* oklch */ color: oklch(79.2% 0.146 108.4);
Tailwind
colors: {
  custom: {
    50: '#d9d47d',
    500: '#c4c242',
    950: '#000000',
  },
}
SCSS
$custom: #c4c242;
$custom-light: #d9d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c242",
  "rgb": {
    "r": 196,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 59.077,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79238,
    "c": 0.14642,
    "h": 108.4
  },
  "luminance": 0.50713
}

Semantic roles & 50–950 ramp

primary
#C4C242
secondary
#363774
accent
#4EDC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4C242

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

Preview Lab → · Contrast checker → · Palette generator →

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