#C8C938#C8C938

#C8C938 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.0% C 0.159 H 109.9°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#C8C938
RGBrgb(200, 201, 56)
HSLhsl(60, 57%, 50%)
HSVhsv(60, 72%, 79%)
CMYKcmyk(0.5%, 0%, 72.1%, 21.2%)
CIE-LABlab(78.66, -17.10, 67.75)
CIE-LCHlch(78.66, 69.88, 104.17°)
OKLaboklab(81.02% -0.0541 0.1496)
OKLCHoklch(81.02% 0.159 109.9)
XYZxyz(45.4215, 54.3395, 11.8365)
Luminance0.5434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C938 #3938C9
analogous
#C98238 #C8C938 #7FC938
triadic
#C8C938 #38C8C9 #C938C8
tetradic
#C8C938 #38C982 #3938C9 #C9387F
square
#C8C938 #38C982 #3938C9 #C9387F
split-complementary
#C8C938 #387FC9 #8238C9
monochromatic
#696A1D #999A2A #C8C938 #D5D668 #E3E398

Accessibility & contrast

On white

1.77
#C8C938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#C8C938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C938
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C938#FFFFFF#000000##000000
##C8C9381.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01B
Deuteranopia (green-blind)
#DBC543
Tritanopia (blue-blind)
#D6BCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8c938;
/* rgb */ color: rgb(200, 201, 56);
/* oklch */ color: oklch(81.0% 0.159 109.9);
Tailwind
colors: {
  custom: {
    50: '#dcd979',
    500: '#c8c938',
    950: '#000000',
  },
}
SCSS
$custom: #c8c938;
$custom-light: #dcd979;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c938",
  "rgb": {
    "r": 200,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 60.414,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81016,
    "c": 0.15904,
    "h": 109.9
  },
  "luminance": 0.54338
}

Semantic roles & 50–950 ramp

primary
#C8C938
secondary
#323174
accent
#47E148
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C8C938

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

Preview Lab → · Contrast checker → · Palette generator →

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