#C4D04F#C4D04F

#C4D04F is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.4% C 0.152 H 114.2°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#C4D04F
RGBrgb(196, 208, 79)
HSLhsl(66, 58%, 56%)
HSVhsv(66, 62%, 82%)
CMYKcmyk(5.8%, 0%, 62%, 18.4%)
CIE-LABlab(80.41, -20.93, 60.65)
CIE-LCHlch(80.41, 64.16, 109.04°)
OKLaboklab(82.39% -0.0623 0.1383)
OKLCHoklch(82.39% 0.152 114.2)
XYZxyz(46.7332, 57.4128, 16.0156)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D04F #5B4FD0
analogous
#D09C4F #C4D04F #84D04F
triadic
#C4D04F #4FC4D0 #D04FC4
tetradic
#C4D04F #4FD09C #5B4FD0 #D04F84
square
#C4D04F #4FD09C #5B4FD0 #D04F84
split-complementary
#C4D04F #4F84D0 #9C4FD0
monochromatic
#798223 #A6B230 #C4D04F #D4DD7F #E4EAB0

Accessibility & contrast

On white

1.68
#C4D04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#C4D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D04F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D04F#FFFFFF#000000##000000
##C4D04F1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63F
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#D0C5B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c4d04f;
/* rgb */ color: rgb(196, 208, 79);
/* oklch */ color: oklch(82.4% 0.152 114.2);
Tailwind
colors: {
  custom: {
    50: '#d9de86',
    500: '#c4d04f',
    950: '#000000',
  },
}
SCSS
$custom: #c4d04f;
$custom-light: #d9de86;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d04f",
  "rgb": {
    "r": 196,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 65.581,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82392,
    "c": 0.15172,
    "h": 114.2
  },
  "luminance": 0.57412
}

Semantic roles & 50–950 ramp

primary
#C4D04F
secondary
#413A89
accent
#47E155
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C4D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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