#C5CF46#C5CF46

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

Color values

HEX#C5CF46
RGBrgb(197, 207, 70)
HSLhsl(64, 59%, 54%)
HSVhsv(64, 66%, 81%)
CMYKcmyk(4.8%, 0%, 66.2%, 18.8%)
CIE-LABlab(80.15, -20.59, 64.02)
CIE-LCHlch(80.15, 67.25, 107.83°)
OKLaboklab(82.18% -0.0623 0.1441)
OKLCHoklch(82.18% 0.157 113.4)
XYZxyz(46.4455, 56.9391, 14.3368)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CF46 #5046CF
analogous
#CF9546 #C5CF46 #80CF46
triadic
#C5CF46 #46C5CF #CF46C5
tetradic
#C5CF46 #46CF95 #5046CF #CF4680
square
#C5CF46 #46CF95 #5046CF #CF4680
split-complementary
#C5CF46 #4680CF #9546CF
monochromatic
#747B20 #A2AB2C #C5CF46 #D4DC77 #E3E8A7

Accessibility & contrast

On white

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

On black

12.39
#C5CF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CF46
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CF46#FFFFFF#000000##000000
##C5CF461.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC532
Deuteranopia (green-blind)
#DEC850
Tritanopia (blue-blind)
#D2C3B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c5cf46;
/* rgb */ color: rgb(197, 207, 70);
/* oklch */ color: oklch(82.2% 0.157 113.4);
Tailwind
colors: {
  custom: {
    50: '#dadd81',
    500: '#c5cf46',
    950: '#000000',
  },
}
SCSS
$custom: #c5cf46;
$custom-light: #dadd81;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cf46",
  "rgb": {
    "r": 197,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 64.38,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82175,
    "c": 0.15699,
    "h": 113.4
  },
  "luminance": 0.56938
}

Semantic roles & 50–950 ramp

primary
#C5CF46
secondary
#3C3683
accent
#46E251
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5CF46

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

Preview Lab → · Contrast checker → · Palette generator →

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