#C5CF3E#C5CF3E

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

Color values

HEX#C5CF3E
RGBrgb(197, 207, 62)
HSLhsl(64, 60%, 53%)
HSVhsv(64, 70%, 81%)
CMYKcmyk(4.8%, 0%, 70%, 18.8%)
CIE-LABlab(80.09, -21.03, 66.96)
CIE-LCHlch(80.09, 70.18, 107.44°)
OKLaboklab(82.12% -0.0643 0.149)
OKLCHoklch(82.12% 0.162 113.4)
XYZxyz(46.2096, 56.8447, 13.0944)
Luminance0.5684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CF3E #483ECF
analogous
#CF903E #C5CF3E #7CCF3E
triadic
#C5CF3E #3EC5CF #CF3EC5
tetradic
#C5CF3E #3ECF90 #483ECF #CF3E7C
square
#C5CF3E #3ECF90 #483ECF #CF3E7C
split-complementary
#C5CF3E #3E7CCF #903ECF
monochromatic
#6F751D #9EA629 #C5CF3E #D4DB6F #E2E7A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CF3E#FFFFFF#000000##000000
##C5CF3E1.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)
#DEC525
Deuteranopia (green-blind)
#DEC849
Tritanopia (blue-blind)
#D2C3B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c5cf3e;
/* rgb */ color: rgb(197, 207, 62);
/* oklch */ color: oklch(82.1% 0.162 113.4);
Tailwind
colors: {
  custom: {
    50: '#dadd7c',
    500: '#c5cf3e',
    950: '#000000',
  },
}
SCSS
$custom: #c5cf3e;
$custom-light: #dadd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cf3e",
  "rgb": {
    "r": 197,
    "g": 207,
    "b": 62
  },
  "hsl": {
    "h": 64.138,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82116,
    "c": 0.16229,
    "h": 113.4
  },
  "luminance": 0.56844
}

Semantic roles & 50–950 ramp

primary
#C5CF3E
secondary
#38337E
accent
#44E34F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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