#C8C041#C8C041

#C8C041 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.1% C 0.145 H 105.7°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#C8C041
RGBrgb(200, 192, 65)
HSLhsl(56, 55%, 52%)
HSVhsv(56, 68%, 78%)
CMYKcmyk(0%, 4%, 67.5%, 21.6%)
CIE-LABlab(76.29, -12.12, 62.12)
CIE-LCHlch(76.29, 63.29, 101.04°)
OKLaboklab(79.15% -0.0392 0.1392)
OKLCHoklch(79.15% 0.145 105.7)
XYZxyz(43.6249, 50.3618, 12.4228)
Luminance0.5036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C041 #4149C8
analogous
#C87C41 #C8C041 #8DC841
triadic
#C8C041 #41C8C0 #C041C8
tetradic
#C8C041 #41C87C #4149C8 #C8418D
square
#C8C041 #41C87C #4149C8 #C8418D
split-complementary
#C8C041 #418DC8 #7C41C8
monochromatic
#6F6A20 #9E972E #C8C041 #D6D070 #E3DFA0

Accessibility & contrast

On white

1.90
#C8C041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#C8C041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C041
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C041#FFFFFF#000000##000000
##C8C0411.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92F
Deuteranopia (green-blind)
#D3BF49
Tritanopia (blue-blind)
#D6B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8c041;
/* rgb */ color: rgb(200, 192, 65);
/* oklch */ color: oklch(79.1% 0.145 105.7);
Tailwind
colors: {
  custom: {
    50: '#dcd27d',
    500: '#c8c041',
    950: '#000000',
  },
}
SCSS
$custom: #c8c041;
$custom-light: #dcd27d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c041",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 65
  },
  "hsl": {
    "h": 56.444,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79145,
    "c": 0.14462,
    "h": 105.7
  },
  "luminance": 0.5036
}

Semantic roles & 50–950 ramp

primary
#C8C041
secondary
#353978
accent
#52DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C041

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

Preview Lab → · Contrast checker → · Palette generator →

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