#C4D631#C4D631

#C4D631 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.5% C 0.177 H 116.0°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#C4D631
RGBrgb(196, 214, 49)
HSLhsl(67, 67%, 52%)
HSVhsv(67, 77%, 84%)
CMYKcmyk(8.4%, 0%, 77.1%, 16.1%)
CIE-LABlab(81.87, -25.42, 72.84)
CIE-LCHlch(81.87, 77.15, 109.24°)
OKLaboklab(83.5% -0.0775 0.1593)
OKLCHoklch(83.5% 0.177 116)
XYZxyz(47.3672, 60.0514, 12.0009)
Luminance0.6005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D631 #4331D6
analogous
#D69531 #C4D631 #72D631
triadic
#C4D631 #31C4D6 #D631C4
tetradic
#C4D631 #31D695 #4331D6 #D63172
square
#C4D631 #31D695 #4331D6 #D63172
split-complementary
#C4D631 #3172D6 #9531D6
monochromatic
#6B7517 #9AA821 #C4D631 #D3E064 #E1EA97

Accessibility & contrast

On white

1.61
#C4D631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#C4D631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D631
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D631#FFFFFF#000000##000000
##C4D6311.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB00
Deuteranopia (green-blind)
#E4CD41
Tritanopia (blue-blind)
#D1C9B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c4d631;
/* rgb */ color: rgb(196, 214, 49);
/* oklch */ color: oklch(83.5% 0.177 116.0);
Tailwind
colors: {
  custom: {
    50: '#dae277',
    500: '#c4d631',
    950: '#000000',
  },
}
SCSS
$custom: #c4d631;
$custom-light: #dae277;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d631",
  "rgb": {
    "r": 196,
    "g": 214,
    "b": 49
  },
  "hsl": {
    "h": 66.545,
    "s": 66.802,
    "l": 51.569
  },
  "oklch": {
    "l": 0.83498,
    "c": 0.17715,
    "h": 116
  },
  "luminance": 0.60051
}

Semantic roles & 50–950 ramp

primary
#C4D631
secondary
#362E7E
accent
#3EEA51
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C4D631

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

Preview Lab → · Contrast checker → · Palette generator →

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