#C5CF3B#C5CF3B

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

Color values

HEX#C5CF3B
RGBrgb(197, 207, 59)
HSLhsl(64, 61%, 52%)
HSVhsv(64, 71%, 81%)
CMYKcmyk(4.8%, 0%, 71.5%, 18.8%)
CIE-LABlab(80.07, -21.18, 68.00)
CIE-LCHlch(80.07, 71.22, 107.30°)
OKLaboklab(82.1% -0.065 0.1507)
OKLCHoklch(82.1% 0.164 113.3)
XYZxyz(46.1296, 56.8127, 12.6728)
Luminance0.5681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CF3B #453BCF
analogous
#CF8F3B #C5CF3B #7BCF3B
triadic
#C5CF3B #3BC5CF #CF3BC5
tetradic
#C5CF3B #3BCF8F #453BCF #CF3B7B
square
#C5CF3B #3BCF8F #453BCF #CF3B7B
split-complementary
#C5CF3B #3B7BCF #8F3BCF
monochromatic
#6D731C #9CA528 #C5CF3B #D4DB6C #E2E79D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CF3B#FFFFFF#000000##000000
##C5CF3B1.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)
#DEC51F
Deuteranopia (green-blind)
#DEC847
Tritanopia (blue-blind)
#D2C3B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c5cf3b;
/* rgb */ color: rgb(197, 207, 59);
/* oklch */ color: oklch(82.1% 0.164 113.3);
Tailwind
colors: {
  custom: {
    50: '#dadd7b',
    500: '#c5cf3b',
    950: '#000000',
  },
}
SCSS
$custom: #c5cf3b;
$custom-light: #dadd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cf3b",
  "rgb": {
    "r": 197,
    "g": 207,
    "b": 59
  },
  "hsl": {
    "h": 64.054,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.82096,
    "c": 0.16411,
    "h": 113.3
  },
  "luminance": 0.56812
}

Semantic roles & 50–950 ramp

primary
#C5CF3B
secondary
#37327C
accent
#44E44F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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