#C5CF45#C5CF45

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

Color values

HEX#C5CF45
RGBrgb(197, 207, 69)
HSLhsl(64, 59%, 54%)
HSVhsv(64, 67%, 81%)
CMYKcmyk(4.8%, 0%, 66.7%, 18.8%)
CIE-LABlab(80.14, -20.65, 64.40)
CIE-LCHlch(80.14, 67.63, 107.78°)
OKLaboklab(82.17% -0.0626 0.1447)
OKLCHoklch(82.17% 0.158 113.4)
XYZxyz(46.4142, 56.9266, 14.1720)
Luminance0.5693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CF45 #4F45CF
analogous
#CF9445 #C5CF45 #80CF45
triadic
#C5CF45 #45C5CF #CF45C5
tetradic
#C5CF45 #45CF94 #4F45CF #CF4580
square
#C5CF45 #45CF94 #4F45CF #CF4580
split-complementary
#C5CF45 #4580CF #9445CF
monochromatic
#747A20 #A2AB2C #C5CF45 #D4DC76 #E3E8A6

Accessibility & contrast

On white

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

On black

12.39
#C5CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CF45
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CF45#FFFFFF#000000##000000
##C5CF451.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cf45;
/* rgb */ color: rgb(197, 207, 69);
/* oklch */ color: oklch(82.2% 0.158 113.4);
Tailwind
colors: {
  custom: {
    50: '#dadd80',
    500: '#c5cf45',
    950: '#000000',
  },
}
SCSS
$custom: #c5cf45;
$custom-light: #dadd80;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cf45",
  "rgb": {
    "r": 197,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 64.348,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82168,
    "c": 0.15769,
    "h": 113.4
  },
  "luminance": 0.56926
}

Semantic roles & 50–950 ramp

primary
#C5CF45
secondary
#3C3682
accent
#46E251
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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