#C8C04F#C8C04F

#C8C04F is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.3% C 0.134 H 105.2°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#C8C04F
RGBrgb(200, 192, 79)
HSLhsl(56, 52%, 55%)
HSVhsv(56, 61%, 78%)
CMYKcmyk(0%, 4%, 60.5%, 21.6%)
CIE-LABlab(76.40, -11.26, 56.41)
CIE-LCHlch(76.40, 57.53, 101.28°)
OKLaboklab(79.27% -0.0352 0.1293)
OKLCHoklch(79.27% 0.134 105.2)
XYZxyz(44.0818, 50.5446, 14.8297)
Luminance0.5054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C04F #4F57C8
analogous
#C8844F #C8C04F #94C84F
triadic
#C8C04F #4FC8C0 #C04FC8
tetradic
#C8C04F #4FC884 #4F57C8 #C84F94
square
#C8C04F #4FC884 #4F57C8 #C84F94
split-complementary
#C8C04F #4F94C8 #844FC8
monochromatic
#777225 #A69E34 #C8C04F #D7D17E #E5E1AC

Accessibility & contrast

On white

1.89
#C8C04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#C8C04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C04F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C04F#FFFFFF#000000##000000
##C8C04F1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA42
Deuteranopia (green-blind)
#D3BF55
Tritanopia (blue-blind)
#D6B4A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8c04f;
/* rgb */ color: rgb(200, 192, 79);
/* oklch */ color: oklch(79.3% 0.134 105.2);
Tailwind
colors: {
  custom: {
    50: '#dbd285',
    500: '#c8c04f',
    950: '#000000',
  },
}
SCSS
$custom: #c8c04f;
$custom-light: #dbd285;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c04f",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 79
  },
  "hsl": {
    "h": 56.033,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79269,
    "c": 0.13397,
    "h": 105.2
  },
  "luminance": 0.50543
}

Semantic roles & 50–950 ramp

primary
#C8C04F
secondary
#3B4080
accent
#55DC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C04F

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

Preview Lab → · Contrast checker → · Palette generator →

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