#C8C23B#C8C23B

#C8C23B 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#C8C23B
RGBrgb(200, 194, 59)
HSLhsl(57, 56%, 51%)
HSVhsv(57, 71%, 78%)
CMYKcmyk(0%, 3%, 70.5%, 21.6%)
CIE-LABlab(76.79, -13.45, 64.89)
CIE-LCHlch(76.79, 66.27, 101.71°)
OKLaboklab(79.53% -0.0435 0.144)
OKLCHoklch(79.53% 0.15 106.8)
XYZxyz(43.9023, 51.1802, 11.7030)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C23B #3B41C8
analogous
#C87B3B #C8C23B #87C83B
triadic
#C8C23B #3BC8C2 #C23BC8
tetradic
#C8C23B #3BC87B #3B41C8 #C83B87
square
#C8C23B #3BC87B #3B41C8 #C83B87
split-complementary
#C8C23B #3B87C8 #7B3BC8
monochromatic
#6B671E #9A962B #C8C23B #D5D16B #E3E09B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c8c23b;
/* rgb */ color: rgb(200, 194, 59);
/* oklch */ color: oklch(79.5% 0.150 106.8);
Tailwind
colors: {
  custom: {
    50: '#dcd47a',
    500: '#c8c23b',
    950: '#000000',
  },
}
SCSS
$custom: #c8c23b;
$custom-light: #dcd47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c23b",
  "rgb": {
    "r": 200,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 57.447,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79528,
    "c": 0.15047,
    "h": 106.8
  },
  "luminance": 0.51179
}

Semantic roles & 50–950 ramp

primary
#C8C23B
secondary
#333674
accent
#4FDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C23B

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

Preview Lab → · Contrast checker → · Palette generator →

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