#C8C23E#C8C23E

#C8C23E is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.5% C 0.149 H 106.8°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#C8C23E
RGBrgb(200, 194, 62)
HSLhsl(57, 56%, 51%)
HSVhsv(57, 69%, 78%)
CMYKcmyk(0%, 3%, 69%, 21.6%)
CIE-LABlab(76.81, -13.29, 63.79)
CIE-LCHlch(76.81, 65.16, 101.77°)
OKLaboklab(79.55% -0.0428 0.1422)
OKLCHoklch(79.55% 0.149 106.8)
XYZxyz(43.9824, 51.2122, 12.1246)
Luminance0.5121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C23E #3E44C8
analogous
#C87D3E #C8C23E #89C83E
triadic
#C8C23E #3EC8C2 #C23EC8
tetradic
#C8C23E #3EC87D #3E44C8 #C83E89
square
#C8C23E #3EC87D #3E44C8 #C83E89
split-complementary
#C8C23E #3E89C8 #7D3EC8
monochromatic
#6D691F #9C972D #C8C23E #D6D16E #E3E09D

Accessibility & contrast

On white

1.87
#C8C23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#C8C23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C23E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C23E#FFFFFF#000000##000000
##C8C23E1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB29
Deuteranopia (green-blind)
#D5C047
Tritanopia (blue-blind)
#D6B5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c8c23e;
/* rgb */ color: rgb(200, 194, 62);
/* oklch */ color: oklch(79.5% 0.149 106.8);
Tailwind
colors: {
  custom: {
    50: '#dcd47b',
    500: '#c8c23e',
    950: '#000000',
  },
}
SCSS
$custom: #c8c23e;
$custom-light: #dcd47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c23e",
  "rgb": {
    "r": 200,
    "g": 194,
    "b": 62
  },
  "hsl": {
    "h": 57.391,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7955,
    "c": 0.14853,
    "h": 106.8
  },
  "luminance": 0.51211
}

Semantic roles & 50–950 ramp

primary
#C8C23E
secondary
#343776
accent
#4FDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C23E

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

Preview Lab → · Contrast checker → · Palette generator →

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