#C8C05F#C8C05F

#C8C05F is a light, moderate yellow. Relative luminance 0.508; OKLCH L 79.4% C 0.120 H 104.5°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#C8C05F
RGBrgb(200, 192, 95)
HSLhsl(55, 49%, 58%)
HSVhsv(55, 53%, 78%)
CMYKcmyk(0%, 4%, 52.5%, 21.6%)
CIE-LABlab(76.56, -10.04, 49.27)
CIE-LCHlch(76.56, 50.28, 101.52°)
OKLaboklab(79.45% -0.03 0.1158)
OKLCHoklch(79.45% 0.12 104.5)
XYZxyz(44.7359, 50.8063, 18.2743)
Luminance0.5081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C05F #5F67C8
analogous
#C88C5F #C8C05F #9BC85F
triadic
#C8C05F #5FC8C0 #C05FC8
tetradic
#C8C05F #5FC88C #5F67C8 #C85F9B
square
#C8C05F #5FC88C #5F67C8 #C85F9B
split-complementary
#C8C05F #5F9BC8 #8C5FC8
monochromatic
#807A2C #AEA53C #C8C05F #D8D28D #E7E4BA

Accessibility & contrast

On white

1.88
#C8C05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#C8C05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C05F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C05F#FFFFFF#000000##000000
##C8C05F1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA56
Deuteranopia (green-blind)
#D1BF64
Tritanopia (blue-blind)
#D5B5AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c8c05f;
/* rgb */ color: rgb(200, 192, 95);
/* oklch */ color: oklch(79.4% 0.120 104.5);
Tailwind
colors: {
  custom: {
    50: '#dbd28f',
    500: '#c8c05f',
    950: '#000000',
  },
}
SCSS
$custom: #c8c05f;
$custom-light: #dbd28f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c05f",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 95
  },
  "hsl": {
    "h": 55.429,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79447,
    "c": 0.11962,
    "h": 104.5
  },
  "luminance": 0.50805
}

Semantic roles & 50–950 ramp

primary
#C8C05F
secondary
#434888
accent
#5AD84F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8C05F

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

Preview Lab → · Contrast checker → · Palette generator →

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