#C5CF4E#C5CF4E

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

Color values

HEX#C5CF4E
RGBrgb(197, 207, 78)
HSLhsl(65, 57%, 56%)
HSVhsv(65, 62%, 81%)
CMYKcmyk(4.8%, 0%, 62.3%, 18.8%)
CIE-LABlab(80.21, -20.09, 60.87)
CIE-LCHlch(80.21, 64.10, 108.27°)
OKLaboklab(82.24% -0.0601 0.1386)
OKLCHoklch(82.24% 0.151 113.4)
XYZxyz(46.7151, 57.0469, 15.7565)
Luminance0.5705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CF4E #584ECF
analogous
#CF984E #C5CF4E #84CF4E
triadic
#C5CF4E #4EC5CF #CF4EC5
tetradic
#C5CF4E #4ECF98 #584ECF #CF4E84
square
#C5CF4E #4ECF98 #584ECF #CF4E84
split-complementary
#C5CF4E #4E84CF #984ECF
monochromatic
#798023 #A6B030 #C5CF4E #D5DC7E #E5E9AE

Accessibility & contrast

On white

1.69
#C5CF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#C5CF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CF4E
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CF4E#FFFFFF#000000##000000
##C5CF4E1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC63E
Deuteranopia (green-blind)
#DDC856
Tritanopia (blue-blind)
#D1C3B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c5cf4e;
/* rgb */ color: rgb(197, 207, 78);
/* oklch */ color: oklch(82.2% 0.151 113.4);
Tailwind
colors: {
  custom: {
    50: '#d9dd85',
    500: '#c5cf4e',
    950: '#000000',
  },
}
SCSS
$custom: #c5cf4e;
$custom-light: #d9dd85;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cf4e",
  "rgb": {
    "r": 197,
    "g": 207,
    "b": 78
  },
  "hsl": {
    "h": 64.651,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82243,
    "c": 0.15111,
    "h": 113.4
  },
  "luminance": 0.57046
}

Semantic roles & 50–950 ramp

primary
#C5CF4E
secondary
#403A87
accent
#47E153
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5CF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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