#C5CF35#C5CF35

#C5CF35 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.1% C 0.168 H 113.3°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#C5CF35
RGBrgb(197, 207, 53)
HSLhsl(64, 62%, 51%)
HSVhsv(64, 74%, 81%)
CMYKcmyk(4.8%, 0%, 74.4%, 18.8%)
CIE-LABlab(80.04, -21.46, 69.97)
CIE-LCHlch(80.04, 73.18, 107.05°)
OKLaboklab(82.06% -0.0663 0.1538)
OKLCHoklch(82.06% 0.168 113.3)
XYZxyz(45.9828, 56.7540, 11.8998)
Luminance0.5675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CF35 #3F35CF
analogous
#CF8C35 #C5CF35 #78CF35
triadic
#C5CF35 #35C5CF #CF35C5
tetradic
#C5CF35 #35CF8C #3F35CF #CF3578
square
#C5CF35 #35CF8C #3F35CF #CF3578
split-complementary
#C5CF35 #3578CF #8C35CF
monochromatic
#6A6F1A #99A126 #C5CF35 #D3DB66 #E1E798

Accessibility & contrast

On white

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

On black

12.35
#C5CF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CF35
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CF35#FFFFFF#000000##000000
##C5CF351.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cf35;
/* rgb */ color: rgb(197, 207, 53);
/* oklch */ color: oklch(82.1% 0.168 113.3);
Tailwind
colors: {
  custom: {
    50: '#dadd78',
    500: '#c5cf35',
    950: '#000000',
  },
}
SCSS
$custom: #c5cf35;
$custom-light: #dadd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cf35",
  "rgb": {
    "r": 197,
    "g": 207,
    "b": 53
  },
  "hsl": {
    "h": 63.896,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.82059,
    "c": 0.1675,
    "h": 113.3
  },
  "luminance": 0.56753
}

Semantic roles & 50–950 ramp

primary
#C5CF35
secondary
#353078
accent
#43E54E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CF35

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

Preview Lab → · Contrast checker → · Palette generator →

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