#C8C23A#C8C23A

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

Color values

HEX#C8C23A
RGBrgb(200, 194, 58)
HSLhsl(57, 56%, 51%)
HSVhsv(57, 71%, 78%)
CMYKcmyk(0%, 3%, 71%, 21.6%)
CIE-LABlab(76.78, -13.49, 65.24)
CIE-LCHlch(76.78, 66.63, 101.69°)
OKLaboklab(79.52% -0.0438 0.1446)
OKLCHoklch(79.52% 0.151 106.8)
XYZxyz(43.8766, 51.1699, 11.5677)
Luminance0.5117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C23A #3A40C8
analogous
#C87B3A #C8C23A #87C83A
triadic
#C8C23A #3AC8C2 #C23AC8
tetradic
#C8C23A #3AC87B #3A40C8 #C83A87
square
#C8C23A #3AC87B #3A40C8 #C83A87
split-complementary
#C8C23A #3A87C8 #7B3AC8
monochromatic
#6A671E #9A952B #C8C23A #D5D16A #E3E09A

Accessibility & contrast

On white

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

On black

11.23
#C8C23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C23A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C23A#FFFFFF#000000##000000
##C8C23A1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB22
Deuteranopia (green-blind)
#D5C044
Tritanopia (blue-blind)
#D7B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c8c23a;
/* rgb */ color: rgb(200, 194, 58);
/* oklch */ color: oklch(79.5% 0.151 106.8);
Tailwind
colors: {
  custom: {
    50: '#dcd479',
    500: '#c8c23a',
    950: '#000000',
  },
}
SCSS
$custom: #c8c23a;
$custom-light: #dcd479;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c23a",
  "rgb": {
    "r": 200,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 57.465,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79521,
    "c": 0.15109,
    "h": 106.8
  },
  "luminance": 0.51168
}

Semantic roles & 50–950 ramp

primary
#C8C23A
secondary
#323574
accent
#4FE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C8C23A

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

Preview Lab → · Contrast checker → · Palette generator →

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