#C8C241#C8C241

#C8C241 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.6% C 0.147 H 106.7°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#C8C241
RGBrgb(200, 194, 65)
HSLhsl(57, 55%, 52%)
HSVhsv(57, 68%, 78%)
CMYKcmyk(0%, 3%, 67.5%, 21.6%)
CIE-LABlab(76.83, -13.13, 62.66)
CIE-LCHlch(76.83, 64.03, 101.84°)
OKLaboklab(79.57% -0.0421 0.1404)
OKLCHoklch(79.57% 0.147 106.7)
XYZxyz(44.0670, 51.2461, 12.5702)
Luminance0.5124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C241 #4147C8
analogous
#C87E41 #C8C241 #8BC841
triadic
#C8C241 #41C8C2 #C241C8
tetradic
#C8C241 #41C87E #4147C8 #C8418B
square
#C8C241 #41C87E #4147C8 #C8418B
split-complementary
#C8C241 #418BC8 #7E41C8
monochromatic
#6F6B20 #9E992E #C8C241 #D6D170 #E3E0A0

Accessibility & contrast

On white

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

On black

11.25
#C8C241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C241
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C241#FFFFFF#000000##000000
##C8C2411.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2E
Deuteranopia (green-blind)
#D5C04A
Tritanopia (blue-blind)
#D6B5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c8c241;
/* rgb */ color: rgb(200, 194, 65);
/* oklch */ color: oklch(79.6% 0.147 106.7);
Tailwind
colors: {
  custom: {
    50: '#dcd47d',
    500: '#c8c241',
    950: '#000000',
  },
}
SCSS
$custom: #c8c241;
$custom-light: #dcd47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c241",
  "rgb": {
    "r": 200,
    "g": 194,
    "b": 65
  },
  "hsl": {
    "h": 57.333,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79572,
    "c": 0.14652,
    "h": 106.7
  },
  "luminance": 0.51245
}

Semantic roles & 50–950 ramp

primary
#C8C241
secondary
#353878
accent
#50DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C241

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

Preview Lab → · Contrast checker → · Palette generator →

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