#C4D42F#C4D42F

#C4D42F is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.0% C 0.176 H 115.3°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#C4D42F
RGBrgb(196, 212, 47)
HSLhsl(66, 66%, 51%)
HSVhsv(66, 78%, 83%)
CMYKcmyk(7.5%, 0%, 77.8%, 16.9%)
CIE-LABlab(81.31, -24.54, 72.92)
CIE-LCHlch(81.31, 76.93, 108.60°)
OKLaboklab(83.05% -0.0753 0.1591)
OKLCHoklch(83.05% 0.176 115.3)
XYZxyz(46.8229, 59.0288, 11.6159)
Luminance0.5903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D42F #3F2FD4
analogous
#D4912F #C4D42F #71D42F
triadic
#C4D42F #2FC4D4 #D42FC4
tetradic
#C4D42F #2FD491 #3F2FD4 #D42F71
square
#C4D42F #2FD491 #3F2FD4 #D42F71
split-complementary
#C4D42F #2F71D4 #912FD4
monochromatic
#687117 #97A422 #C4D42F #D2DE62 #E1E994

Accessibility & contrast

On white

1.64
#C4D42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#C4D42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D42F
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D42F#FFFFFF#000000##000000
##C4D42F1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C900
Deuteranopia (green-blind)
#E2CB3F
Tritanopia (blue-blind)
#D1C7B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c4d42f;
/* rgb */ color: rgb(196, 212, 47);
/* oklch */ color: oklch(83.0% 0.176 115.3);
Tailwind
colors: {
  custom: {
    50: '#dae176',
    500: '#c4d42f',
    950: '#000000',
  },
}
SCSS
$custom: #c4d42f;
$custom-light: #dae176;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d42f",
  "rgb": {
    "r": 196,
    "g": 212,
    "b": 47
  },
  "hsl": {
    "h": 65.818,
    "s": 65.737,
    "l": 50.784
  },
  "oklch": {
    "l": 0.83047,
    "c": 0.17599,
    "h": 115.3
  },
  "luminance": 0.59028
}

Semantic roles & 50–950 ramp

primary
#C4D42F
secondary
#352D7A
accent
#3FE950
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C4D42F

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

Preview Lab → · Contrast checker → · Palette generator →

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