#C8CB40#C8CB40

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

Color values

HEX#C8CB40
RGBrgb(200, 203, 64)
HSLhsl(61, 57%, 52%)
HSVhsv(61, 68%, 80%)
CMYKcmyk(1.5%, 0%, 68.5%, 20.4%)
CIE-LABlab(79.25, -17.70, 65.47)
CIE-LCHlch(79.25, 67.82, 105.13°)
OKLaboklab(81.5% -0.055 0.1461)
OKLCHoklch(81.5% 0.156 110.6)
XYZxyz(46.1023, 55.3626, 13.1070)
Luminance0.5536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB40 #4340CB
analogous
#CB8940 #C8CB40 #83CB40
triadic
#C8CB40 #40C8CB #CB40C8
tetradic
#C8CB40 #40CB89 #4340CB #CB4083
square
#C8CB40 #40CB89 #4340CB #CB4083
split-complementary
#C8CB40 #4083CB #8940CB
monochromatic
#70721F #9FA22C #C8CB40 #D6D870 #E4E5A0

Accessibility & contrast

On white

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

On black

12.07
#C8CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB40
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB40#FFFFFF#000000##000000
##C8CB401.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22A
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#D6BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8cb40;
/* rgb */ color: rgb(200, 203, 64);
/* oklch */ color: oklch(81.5% 0.156 110.6);
Tailwind
colors: {
  custom: {
    50: '#dcda7d',
    500: '#c8cb40',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb40;
$custom-light: #dcda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb40",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 61.295,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81503,
    "c": 0.15612,
    "h": 110.6
  },
  "luminance": 0.55361
}

Semantic roles & 50–950 ramp

primary
#C8CB40
secondary
#36357B
accent
#47E04B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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