#C5CF30#C5CF30

#C5CF30 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.0% C 0.170 H 113.3°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#C5CF30
RGBrgb(197, 207, 48)
HSLhsl(64, 62%, 50%)
HSVhsv(64, 77%, 81%)
CMYKcmyk(4.8%, 0%, 76.8%, 18.8%)
CIE-LABlab(80.02, -21.66, 71.49)
CIE-LCHlch(80.02, 74.70, 106.86°)
OKLaboklab(82.03% -0.0673 0.1562)
OKLCHoklch(82.03% 0.17 113.3)
XYZxyz(45.8738, 56.7104, 11.3254)
Luminance0.5671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CF30 #3A30CF
analogous
#CF8A30 #C5CF30 #75CF30
triadic
#C5CF30 #30C5CF #CF30C5
tetradic
#C5CF30 #30CF8A #3A30CF #CF3075
square
#C5CF30 #30CF8A #3A30CF #CF3075
split-complementary
#C5CF30 #3075CF #8A30CF
monochromatic
#666C19 #969D24 #C5CF30 #D3DB62 #E1E693

Accessibility & contrast

On white

1.70
#C5CF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#C5CF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CF30
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CF30#FFFFFF#000000##000000
##C5CF301.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC500
Deuteranopia (green-blind)
#DFC83E
Tritanopia (blue-blind)
#D2C2B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5cf30;
/* rgb */ color: rgb(197, 207, 48);
/* oklch */ color: oklch(82.0% 0.170 113.3);
Tailwind
colors: {
  custom: {
    50: '#dbdd76',
    500: '#c5cf30',
    950: '#000000',
  },
}
SCSS
$custom: #c5cf30;
$custom-light: #dbdd76;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cf30",
  "rgb": {
    "r": 197,
    "g": 207,
    "b": 48
  },
  "hsl": {
    "h": 63.774,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.82031,
    "c": 0.17005,
    "h": 113.3
  },
  "luminance": 0.56709
}

Semantic roles & 50–950 ramp

primary
#C5CF30
secondary
#322E75
accent
#42E54D
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C5CF30

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

Preview Lab → · Contrast checker → · Palette generator →

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