#C5CF40#C5CF40

#C5CF40 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.1% C 0.161 H 113.4°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#C5CF40
RGBrgb(197, 207, 64)
HSLhsl(64, 60%, 53%)
HSVhsv(64, 69%, 81%)
CMYKcmyk(4.8%, 0%, 69.1%, 18.8%)
CIE-LABlab(80.10, -20.93, 66.24)
CIE-LCHlch(80.10, 69.47, 107.53°)
OKLaboklab(82.13% -0.0638 0.1478)
OKLCHoklch(82.13% 0.161 113.4)
XYZxyz(46.2655, 56.8671, 13.3888)
Luminance0.5687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CF40 #4A40CF
analogous
#CF9140 #C5CF40 #7DCF40
triadic
#C5CF40 #40C5CF #CF40C5
tetradic
#C5CF40 #40CF91 #4A40CF #CF407D
square
#C5CF40 #40CF91 #4A40CF #CF407D
split-complementary
#C5CF40 #407DCF #9140CF
monochromatic
#71771E #9FA82A #C5CF40 #D4DB71 #E3E8A2

Accessibility & contrast

On white

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

On black

12.37
#C5CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CF40
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CF40#FFFFFF#000000##000000
##C5CF401.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC529
Deuteranopia (green-blind)
#DEC84B
Tritanopia (blue-blind)
#D2C3B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c5cf40;
/* rgb */ color: rgb(197, 207, 64);
/* oklch */ color: oklch(82.1% 0.161 113.4);
Tailwind
colors: {
  custom: {
    50: '#dadd7e',
    500: '#c5cf40',
    950: '#000000',
  },
}
SCSS
$custom: #c5cf40;
$custom-light: #dadd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cf40",
  "rgb": {
    "r": 197,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 64.196,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8213,
    "c": 0.16102,
    "h": 113.4
  },
  "luminance": 0.56866
}

Semantic roles & 50–950 ramp

primary
#C5CF40
secondary
#39347F
accent
#45E350
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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