#C8C24C#C8C24C

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

Color values

HEX#C8C24C
RGBrgb(200, 194, 76)
HSLhsl(57, 53%, 54%)
HSVhsv(57, 62%, 78%)
CMYKcmyk(0%, 3%, 62%, 21.6%)
CIE-LABlab(76.91, -12.48, 58.26)
CIE-LCHlch(76.91, 59.58, 102.09°)
OKLaboklab(79.67% -0.039 0.1328)
OKLCHoklch(79.67% 0.138 106.4)
XYZxyz(44.4172, 51.3862, 14.4149)
Luminance0.5139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C24C #4C52C8
analogous
#C8844C #C8C24C #90C84C
triadic
#C8C24C #4CC8C2 #C24CC8
tetradic
#C8C24C #4CC884 #4C52C8 #C84C90
square
#C8C24C #4CC884 #4C52C8 #C84C90
split-complementary
#C8C24C #4C90C8 #844CC8
monochromatic
#757224 #A49F32 #C8C24C #D6D27B #E5E2AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C24C#FFFFFF#000000##000000
##C8C24C1.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)
#D1BB3E
Deuteranopia (green-blind)
#D4C053
Tritanopia (blue-blind)
#D6B6A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c8c24c;
/* rgb */ color: rgb(200, 194, 76);
/* oklch */ color: oklch(79.7% 0.138 106.4);
Tailwind
colors: {
  custom: {
    50: '#dcd483',
    500: '#c8c24c',
    950: '#000000',
  },
}
SCSS
$custom: #c8c24c;
$custom-light: #dcd483;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c24c",
  "rgb": {
    "r": 200,
    "g": 194,
    "b": 76
  },
  "hsl": {
    "h": 57.097,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79667,
    "c": 0.13837,
    "h": 106.4
  },
  "luminance": 0.51385
}

Semantic roles & 50–950 ramp

primary
#C8C24C
secondary
#3A3D7E
accent
#52DC4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C24C

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

Preview Lab → · Contrast checker → · Palette generator →

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