#C5D631#C5D631

#C5D631 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.6% C 0.177 H 115.6°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#C5D631
RGBrgb(197, 214, 49)
HSLhsl(66, 67%, 52%)
HSVhsv(66, 77%, 84%)
CMYKcmyk(7.9%, 0%, 77.1%, 16.1%)
CIE-LABlab(81.94, -25.01, 72.94)
CIE-LCHlch(81.94, 77.11, 108.93°)
OKLaboklab(83.58% -0.0765 0.1594)
OKLCHoklch(83.58% 0.177 115.6)
XYZxyz(47.6283, 60.1860, 12.0132)
Luminance0.6018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D631 #4231D6
analogous
#D69531 #C5D631 #73D631
triadic
#C5D631 #31C5D6 #D631C5
tetradic
#C5D631 #31D695 #4231D6 #D63173
square
#C5D631 #31D695 #4231D6 #D63173
split-complementary
#C5D631 #3173D6 #9531D6
monochromatic
#6C7517 #9AA821 #C5D631 #D3E064 #E2EA97

Accessibility & contrast

On white

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

On black

13.04
#C5D631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D631
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D631#FFFFFF#000000##000000
##C5D6311.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB00
Deuteranopia (green-blind)
#E4CD40
Tritanopia (blue-blind)
#D2C9B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c5d631;
/* rgb */ color: rgb(197, 214, 49);
/* oklch */ color: oklch(83.6% 0.177 115.6);
Tailwind
colors: {
  custom: {
    50: '#dbe277',
    500: '#c5d631',
    950: '#000000',
  },
}
SCSS
$custom: #c5d631;
$custom-light: #dbe277;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d631",
  "rgb": {
    "r": 197,
    "g": 214,
    "b": 49
  },
  "hsl": {
    "h": 66.182,
    "s": 66.802,
    "l": 51.569
  },
  "oklch": {
    "l": 0.83575,
    "c": 0.17682,
    "h": 115.6
  },
  "luminance": 0.60185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5D631

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

Preview Lab → · Contrast checker → · Palette generator →

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