#C4C142#C4C142

#C4C142 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.0% C 0.145 H 108.0°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#C4C142
RGBrgb(196, 193, 66)
HSLhsl(59, 52%, 51%)
HSVhsv(59, 66%, 77%)
CMYKcmyk(0%, 1.5%, 66.3%, 23.1%)
CIE-LABlab(76.23, -14.26, 61.56)
CIE-LCHlch(76.23, 63.19, 103.05°)
OKLaboklab(79.02% -0.0449 0.1383)
OKLCHoklch(79.02% 0.145 108)
XYZxyz(42.8198, 50.2704, 12.6008)
Luminance0.5027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C142 #4245C4
analogous
#C48042 #C4C142 #86C442
triadic
#C4C142 #42C4C1 #C142C4
tetradic
#C4C142 #42C480 #4245C4 #C44286
square
#C4C142 #42C480 #4245C4 #C44286
split-complementary
#C4C142 #4286C4 #8042C4
monochromatic
#6A6921 #999730 #C4C142 #D3D071 #E1E09F

Accessibility & contrast

On white

1.90
#C4C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#C4C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C142
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C142#FFFFFF#000000##000000
##C4C1421.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B930
Deuteranopia (green-blind)
#D3BE4A
Tritanopia (blue-blind)
#D2B5A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c4c142;
/* rgb */ color: rgb(196, 193, 66);
/* oklch */ color: oklch(79.0% 0.145 108.0);
Tailwind
colors: {
  custom: {
    50: '#d9d37d',
    500: '#c4c142',
    950: '#000000',
  },
}
SCSS
$custom: #c4c142;
$custom-light: #d9d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c142",
  "rgb": {
    "r": 196,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 58.615,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79022,
    "c": 0.14542,
    "h": 108
  },
  "luminance": 0.50269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4C142

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

Preview Lab → · Contrast checker → · Palette generator →

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