#C5CF3D#C5CF3D

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

Color values

HEX#C5CF3D
RGBrgb(197, 207, 61)
HSLhsl(64, 60%, 53%)
HSVhsv(64, 71%, 81%)
CMYKcmyk(4.8%, 0%, 70.5%, 18.8%)
CIE-LABlab(80.09, -21.08, 67.31)
CIE-LCHlch(80.09, 70.53, 107.39°)
OKLaboklab(82.11% -0.0646 0.1496)
OKLCHoklch(82.11% 0.163 113.3)
XYZxyz(46.1825, 56.8339, 12.9512)
Luminance0.5683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CF3D #473DCF
analogous
#CF903D #C5CF3D #7CCF3D
triadic
#C5CF3D #3DC5CF #CF3DC5
tetradic
#C5CF3D #3DCF90 #473DCF #CF3D7C
square
#C5CF3D #3DCF90 #473DCF #CF3D7C
split-complementary
#C5CF3D #3D7CCF #903DCF
monochromatic
#6F751D #9DA629 #C5CF3D #D4DB6E #E2E79F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CF3D#FFFFFF#000000##000000
##C5CF3D1.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)
#DEC523
Deuteranopia (green-blind)
#DEC848
Tritanopia (blue-blind)
#D2C3B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c5cf3d;
/* rgb */ color: rgb(197, 207, 61);
/* oklch */ color: oklch(82.1% 0.163 113.3);
Tailwind
colors: {
  custom: {
    50: '#dadd7c',
    500: '#c5cf3d',
    950: '#000000',
  },
}
SCSS
$custom: #c5cf3d;
$custom-light: #dadd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cf3d",
  "rgb": {
    "r": 197,
    "g": 207,
    "b": 61
  },
  "hsl": {
    "h": 64.11,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.82109,
    "c": 0.16291,
    "h": 113.3
  },
  "luminance": 0.56833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5CF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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