#C8C23C#C8C23C

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

Color values

HEX#C8C23C
RGBrgb(200, 194, 60)
HSLhsl(57, 56%, 51%)
HSVhsv(57, 70%, 78%)
CMYKcmyk(0%, 3%, 70%, 21.6%)
CIE-LABlab(76.79, -13.40, 64.53)
CIE-LCHlch(76.79, 65.90, 101.73°)
OKLaboklab(79.54% -0.0433 0.1434)
OKLCHoklch(79.54% 0.15 106.8)
XYZxyz(43.9285, 51.1907, 11.8409)
Luminance0.5119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C23C #3C42C8
analogous
#C87C3C #C8C23C #88C83C
triadic
#C8C23C #3CC8C2 #C23CC8
tetradic
#C8C23C #3CC87C #3C42C8 #C83C88
square
#C8C23C #3CC87C #3C42C8 #C83C88
split-complementary
#C8C23C #3C88C8 #7C3CC8
monochromatic
#6B681E #9B962C #C8C23C #D5D16C #E3E09B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C23C#FFFFFF#000000##000000
##C8C23C1.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)
#D2BB26
Deuteranopia (green-blind)
#D5C045
Tritanopia (blue-blind)
#D6B5A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c8c23c;
/* rgb */ color: rgb(200, 194, 60);
/* oklch */ color: oklch(79.5% 0.150 106.8);
Tailwind
colors: {
  custom: {
    50: '#dcd47a',
    500: '#c8c23c',
    950: '#000000',
  },
}
SCSS
$custom: #c8c23c;
$custom-light: #dcd47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c23c",
  "rgb": {
    "r": 200,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 57.429,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79535,
    "c": 0.14983,
    "h": 106.8
  },
  "luminance": 0.51189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8C23C

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

Preview Lab → · Contrast checker → · Palette generator →

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