#C5CF3F#C5CF3F

#C5CF3F is a very light, vivid yellow. Relative luminance 0.569; 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#C5CF3F
RGBrgb(197, 207, 63)
HSLhsl(64, 60%, 53%)
HSVhsv(64, 70%, 81%)
CMYKcmyk(4.8%, 0%, 69.6%, 18.8%)
CIE-LABlab(80.10, -20.98, 66.60)
CIE-LCHlch(80.10, 69.83, 107.48°)
OKLaboklab(82.12% -0.0641 0.1484)
OKLCHoklch(82.12% 0.162 113.4)
XYZxyz(46.2373, 56.8558, 13.2402)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CF3F #493FCF
analogous
#CF913F #C5CF3F #7DCF3F
triadic
#C5CF3F #3FC5CF #CF3FC5
tetradic
#C5CF3F #3FCF91 #493FCF #CF3F7D
square
#C5CF3F #3FCF91 #493FCF #CF3F7D
split-complementary
#C5CF3F #3F7DCF #913FCF
monochromatic
#70761E #9EA72A #C5CF3F #D4DB70 #E3E7A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CF3F#FFFFFF#000000##000000
##C5CF3F1.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)
#DEC527
Deuteranopia (green-blind)
#DEC84A
Tritanopia (blue-blind)
#D2C3B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c5cf3f;
/* rgb */ color: rgb(197, 207, 63);
/* oklch */ color: oklch(82.1% 0.162 113.4);
Tailwind
colors: {
  custom: {
    50: '#dadd7d',
    500: '#c5cf3f',
    950: '#000000',
  },
}
SCSS
$custom: #c5cf3f;
$custom-light: #dadd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cf3f",
  "rgb": {
    "r": 197,
    "g": 207,
    "b": 63
  },
  "hsl": {
    "h": 64.167,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82123,
    "c": 0.16166,
    "h": 113.4
  },
  "luminance": 0.56855
}

Semantic roles & 50–950 ramp

primary
#C5CF3F
secondary
#39347F
accent
#45E350
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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