#C5CF41#C5CF41

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

Color values

HEX#C5CF41
RGBrgb(197, 207, 65)
HSLhsl(64, 60%, 53%)
HSVhsv(64, 69%, 81%)
CMYKcmyk(4.8%, 0%, 68.6%, 18.8%)
CIE-LABlab(80.11, -20.87, 65.88)
CIE-LCHlch(80.11, 69.11, 107.58°)
OKLaboklab(82.14% -0.0636 0.1472)
OKLCHoklch(82.14% 0.16 113.4)
XYZxyz(46.2942, 56.8786, 13.5400)
Luminance0.5688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CF41 #4B41CF
analogous
#CF9241 #C5CF41 #7ECF41
triadic
#C5CF41 #41C5CF #CF41C5
tetradic
#C5CF41 #41CF92 #4B41CF #CF417E
square
#C5CF41 #41CF92 #4B41CF #CF417E
split-complementary
#C5CF41 #417ECF #9241CF
monochromatic
#71771E #9FA82B #C5CF41 #D4DB72 #E3E8A3

Accessibility & contrast

On white

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

On black

12.38
#C5CF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CF41
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CF41#FFFFFF#000000##000000
##C5CF411.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cf41;
/* rgb */ color: rgb(197, 207, 65);
/* oklch */ color: oklch(82.1% 0.160 113.4);
Tailwind
colors: {
  custom: {
    50: '#dadd7e',
    500: '#c5cf41',
    950: '#000000',
  },
}
SCSS
$custom: #c5cf41;
$custom-light: #dadd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cf41",
  "rgb": {
    "r": 197,
    "g": 207,
    "b": 65
  },
  "hsl": {
    "h": 64.225,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82137,
    "c": 0.16037,
    "h": 113.4
  },
  "luminance": 0.56878
}

Semantic roles & 50–950 ramp

primary
#C5CF41
secondary
#3A3480
accent
#45E350
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CF41

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

Preview Lab → · Contrast checker → · Palette generator →

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