#C5CC46#C5CC46

#C5CC46 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.5% C 0.154 H 112.2°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#C5CC46
RGBrgb(197, 204, 70)
HSLhsl(63, 57%, 54%)
HSVhsv(63, 66%, 80%)
CMYKcmyk(3.4%, 0%, 65.7%, 20%)
CIE-LABlab(79.33, -19.12, 63.18)
CIE-LCHlch(79.33, 66.01, 106.83°)
OKLaboklab(81.52% -0.0582 0.1423)
OKLCHoklch(81.52% 0.154 112.2)
XYZxyz(45.7256, 55.4993, 14.0969)
Luminance0.5550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC46 #4D46CC
analogous
#CC9046 #C5CC46 #82CC46
triadic
#C5CC46 #46C5CC #CC46C5
tetradic
#C5CC46 #46CC90 #4D46CC #CC4682
square
#C5CC46 #46CC90 #4D46CC #CC4682
split-complementary
#C5CC46 #4682CC #9046CC
monochromatic
#727721 #A1A72E #C5CC46 #D4D976 #E3E6A6

Accessibility & contrast

On white

1.74
#C5CC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#C5CC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC46
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC46#FFFFFF#000000##000000
##C5CC461.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC333
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#D2C0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc46;
/* rgb */ color: rgb(197, 204, 70);
/* oklch */ color: oklch(81.5% 0.154 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb81',
    500: '#c5cc46',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc46;
$custom-light: #dadb81;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc46",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 63.134,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81521,
    "c": 0.15377,
    "h": 112.2
  },
  "luminance": 0.55498
}

Semantic roles & 50–950 ramp

primary
#C5CC46
secondary
#3B377F
accent
#48E050
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5CC46

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

Preview Lab → · Contrast checker → · Palette generator →

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