#C8C235#C8C235

#C8C235 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.5% C 0.154 H 106.9°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#C8C235
RGBrgb(200, 194, 53)
HSLhsl(58, 58%, 50%)
HSVhsv(58, 74%, 78%)
CMYKcmyk(0%, 3%, 73.5%, 21.6%)
CIE-LABlab(76.75, -13.72, 66.97)
CIE-LCHlch(76.75, 68.36, 101.58°)
OKLaboklab(79.49% -0.0449 0.1474)
OKLCHoklch(79.49% 0.154 106.9)
XYZxyz(43.7556, 51.1215, 10.9301)
Luminance0.5112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C235 #353BC8
analogous
#C87935 #C8C235 #85C835
triadic
#C8C235 #35C8C2 #C235C8
tetradic
#C8C235 #35C879 #353BC8 #C83585
square
#C8C235 #35C879 #353BC8 #C83585
split-complementary
#C8C235 #3585C8 #7935C8
monochromatic
#67641B #989328 #C8C235 #D6D164 #E3E095

Accessibility & contrast

On white

1.87
#C8C235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#C8C235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C235
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C235#FFFFFF#000000##000000
##C8C2351.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA18
Deuteranopia (green-blind)
#D5C040
Tritanopia (blue-blind)
#D7B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c8c235;
/* rgb */ color: rgb(200, 194, 53);
/* oklch */ color: oklch(79.5% 0.154 106.9);
Tailwind
colors: {
  custom: {
    50: '#dcd477',
    500: '#c8c235',
    950: '#000000',
  },
}
SCSS
$custom: #c8c235;
$custom-light: #dcd477;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c235",
  "rgb": {
    "r": 200,
    "g": 194,
    "b": 53
  },
  "hsl": {
    "h": 57.551,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79488,
    "c": 0.15405,
    "h": 106.9
  },
  "luminance": 0.5112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8C235

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

Preview Lab → · Contrast checker → · Palette generator →

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