#C8CB45#C8CB45

#C8CB45 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.5% C 0.153 H 110.6°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#C8CB45
RGBrgb(200, 203, 69)
HSLhsl(61, 56%, 53%)
HSVhsv(61, 66%, 80%)
CMYKcmyk(1.5%, 0%, 66%, 20.4%)
CIE-LABlab(79.28, -17.43, 63.60)
CIE-LCHlch(79.28, 65.95, 105.33°)
OKLaboklab(81.54% -0.0537 0.143)
OKLCHoklch(81.54% 0.153 110.6)
XYZxyz(46.2510, 55.4221, 13.8902)
Luminance0.5542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB45 #4845CB
analogous
#CB8B45 #C8CB45 #85CB45
triadic
#C8CB45 #45C8CB #CB45C8
tetradic
#C8CB45 #45CB8B #4845CB #CB4585
square
#C8CB45 #45CB8B #4845CB #CB4585
split-complementary
#C8CB45 #4585CB #8B45CB
monochromatic
#737521 #A2A52E #C8CB45 #D6D875 #E4E6A5

Accessibility & contrast

On white

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

On black

12.08
#C8CB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB45
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB45#FFFFFF#000000##000000
##C8CB451.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC232
Deuteranopia (green-blind)
#DCC64E
Tritanopia (blue-blind)
#D5BFB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8cb45;
/* rgb */ color: rgb(200, 203, 69);
/* oklch */ color: oklch(81.5% 0.153 110.6);
Tailwind
colors: {
  custom: {
    50: '#dcda80',
    500: '#c8cb45',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb45;
$custom-light: #dcda80;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb45",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 61.343,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81541,
    "c": 0.15275,
    "h": 110.6
  },
  "luminance": 0.55421
}

Semantic roles & 50–950 ramp

primary
#C8CB45
secondary
#38377E
accent
#48E04C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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