#C5CF39#C5CF39

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

Color values

HEX#C5CF39
RGBrgb(197, 207, 57)
HSLhsl(64, 61%, 52%)
HSVhsv(64, 72%, 81%)
CMYKcmyk(4.8%, 0%, 72.5%, 18.8%)
CIE-LABlab(80.06, -21.28, 68.67)
CIE-LCHlch(80.06, 71.89, 107.21°)
OKLaboklab(82.08% -0.0655 0.1518)
OKLCHoklch(82.08% 0.165 113.3)
XYZxyz(46.0787, 56.7924, 12.4048)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CF39 #4339CF
analogous
#CF8E39 #C5CF39 #7ACF39
triadic
#C5CF39 #39C5CF #CF39C5
tetradic
#C5CF39 #39CF8E #4339CF #CF397A
square
#C5CF39 #39CF8E #4339CF #CF397A
split-complementary
#C5CF39 #397ACF #8E39CF
monochromatic
#6C721C #9BA328 #C5CF39 #D3DB6A #E2E79C

Accessibility & contrast

On white

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

On black

12.36
#C5CF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CF39
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CF39#FFFFFF#000000##000000
##C5CF391.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC51B
Deuteranopia (green-blind)
#DEC845
Tritanopia (blue-blind)
#D2C3B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c5cf39;
/* rgb */ color: rgb(197, 207, 57);
/* oklch */ color: oklch(82.1% 0.165 113.3);
Tailwind
colors: {
  custom: {
    50: '#dadd7a',
    500: '#c5cf39',
    950: '#000000',
  },
}
SCSS
$custom: #c5cf39;
$custom-light: #dadd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cf39",
  "rgb": {
    "r": 197,
    "g": 207,
    "b": 57
  },
  "hsl": {
    "h": 64,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.82083,
    "c": 0.16529,
    "h": 113.3
  },
  "luminance": 0.56791
}

Semantic roles & 50–950 ramp

primary
#C5CF39
secondary
#36317B
accent
#44E44E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CF39

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

Preview Lab → · Contrast checker → · Palette generator →

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