#C8C335#C8C335

#C8C335 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.7% C 0.155 H 107.4°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#C8C335
RGBrgb(200, 195, 53)
HSLhsl(58, 58%, 50%)
HSVhsv(58, 74%, 78%)
CMYKcmyk(0%, 2.5%, 73.5%, 21.6%)
CIE-LABlab(77.02, -14.23, 67.22)
CIE-LCHlch(77.02, 68.71, 101.95°)
OKLaboklab(79.7% -0.0463 0.1479)
OKLCHoklch(79.7% 0.155 107.4)
XYZxyz(43.9789, 51.5681, 11.0045)
Luminance0.5157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C335 #353AC8
analogous
#C87935 #C8C335 #84C835
triadic
#C8C335 #35C8C3 #C335C8
tetradic
#C8C335 #35C879 #353AC8 #C83584
square
#C8C335 #35C879 #353AC8 #C83584
split-complementary
#C8C335 #3584C8 #7935C8
monochromatic
#67651B #989428 #C8C335 #D6D264 #E3E095

Accessibility & contrast

On white

1.86
#C8C335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#C8C335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C335
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C335#FFFFFF#000000##000000
##C8C3351.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB18
Deuteranopia (green-blind)
#D6C140
Tritanopia (blue-blind)
#D7B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c8c335;
/* rgb */ color: rgb(200, 195, 53);
/* oklch */ color: oklch(79.7% 0.155 107.4);
Tailwind
colors: {
  custom: {
    50: '#dcd477',
    500: '#c8c335',
    950: '#000000',
  },
}
SCSS
$custom: #c8c335;
$custom-light: #dcd477;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c335",
  "rgb": {
    "r": 200,
    "g": 195,
    "b": 53
  },
  "hsl": {
    "h": 57.959,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79703,
    "c": 0.15498,
    "h": 107.4
  },
  "luminance": 0.51567
}

Semantic roles & 50–950 ramp

primary
#C8C335
secondary
#303271
accent
#4CE146
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C335

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

Preview Lab → · Contrast checker → · Palette generator →

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