#C8C135#C8C135

#C8C135 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.3% C 0.153 H 106.5°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#C8C135
RGBrgb(200, 193, 53)
HSLhsl(57, 58%, 50%)
HSVhsv(57, 74%, 78%)
CMYKcmyk(0%, 3.5%, 73.5%, 21.6%)
CIE-LABlab(76.48, -13.22, 66.71)
CIE-LCHlch(76.48, 68.01, 101.21°)
OKLaboklab(79.27% -0.0435 0.1468)
OKLCHoklch(79.27% 0.153 106.5)
XYZxyz(43.5337, 50.6779, 10.8561)
Luminance0.5068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C135 #353CC8
analogous
#C87835 #C8C135 #86C835
triadic
#C8C135 #35C8C1 #C135C8
tetradic
#C8C135 #35C878 #353CC8 #C83586
square
#C8C135 #35C878 #353CC8 #C83586
split-complementary
#C8C135 #3586C8 #7835C8
monochromatic
#67641B #989228 #C8C135 #D6D164 #E3DF95

Accessibility & contrast

On white

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

On black

11.14
#C8C135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C135
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C135#FFFFFF#000000##000000
##C8C1351.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA19
Deuteranopia (green-blind)
#D5BF40
Tritanopia (blue-blind)
#D7B4A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c8c135;
/* rgb */ color: rgb(200, 193, 53);
/* oklch */ color: oklch(79.3% 0.153 106.5);
Tailwind
colors: {
  custom: {
    50: '#dcd377',
    500: '#c8c135',
    950: '#000000',
  },
}
SCSS
$custom: #c8c135;
$custom-light: #dcd377;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c135",
  "rgb": {
    "r": 200,
    "g": 193,
    "b": 53
  },
  "hsl": {
    "h": 57.143,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79274,
    "c": 0.15312,
    "h": 106.5
  },
  "luminance": 0.50676
}

Semantic roles & 50–950 ramp

primary
#C8C135
secondary
#303371
accent
#4EE146
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C135

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

Preview Lab → · Contrast checker → · Palette generator →

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