#C8C24E#C8C24E

#C8C24E is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.7% C 0.137 H 106.3°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#C8C24E
RGBrgb(200, 194, 78)
HSLhsl(57, 53%, 55%)
HSVhsv(57, 61%, 78%)
CMYKcmyk(0%, 3%, 61%, 21.6%)
CIE-LABlab(76.93, -12.34, 57.42)
CIE-LCHlch(76.93, 58.73, 102.13°)
OKLaboklab(79.69% -0.0384 0.1313)
OKLCHoklch(79.69% 0.137 106.3)
XYZxyz(44.4878, 51.4144, 14.7868)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C24E #4E54C8
analogous
#C8854E #C8C24E #91C84E
triadic
#C8C24E #4EC8C2 #C24EC8
tetradic
#C8C24E #4EC885 #4E54C8 #C84E91
square
#C8C24E #4EC885 #4E54C8 #C84E91
split-complementary
#C8C24E #4E91C8 #854EC8
monochromatic
#777325 #A5A033 #C8C24E #D7D27D #E5E2AB

Accessibility & contrast

On white

1.86
#C8C24E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#C8C24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C24E
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C24E#FFFFFF#000000##000000
##C8C24E1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB40
Deuteranopia (green-blind)
#D4C055
Tritanopia (blue-blind)
#D6B6A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c8c24e;
/* rgb */ color: rgb(200, 194, 78);
/* oklch */ color: oklch(79.7% 0.137 106.3);
Tailwind
colors: {
  custom: {
    50: '#dcd484',
    500: '#c8c24e',
    950: '#000000',
  },
}
SCSS
$custom: #c8c24e;
$custom-light: #dcd484;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c24e",
  "rgb": {
    "r": 200,
    "g": 194,
    "b": 78
  },
  "hsl": {
    "h": 57.049,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79686,
    "c": 0.13677,
    "h": 106.3
  },
  "luminance": 0.51413
}

Semantic roles & 50–950 ramp

primary
#C8C24E
secondary
#3B3E7F
accent
#53DC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C24E

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

Preview Lab → · Contrast checker → · Palette generator →

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