#C8C33B#C8C33B

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

Color values

HEX#C8C33B
RGBrgb(200, 195, 59)
HSLhsl(58, 56%, 51%)
HSVhsv(58, 71%, 78%)
CMYKcmyk(0%, 2.5%, 70.5%, 21.6%)
CIE-LABlab(77.06, -13.95, 65.15)
CIE-LCHlch(77.06, 66.63, 102.09°)
OKLaboklab(79.74% -0.045 0.1446)
OKLCHoklch(79.74% 0.151 107.3)
XYZxyz(44.1256, 51.6268, 11.7774)
Luminance0.5162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C33B #3B40C8
analogous
#C87C3B #C8C33B #87C83B
triadic
#C8C33B #3BC8C3 #C33BC8
tetradic
#C8C33B #3BC87C #3B40C8 #C83B87
square
#C8C33B #3BC87C #3B40C8 #C83B87
split-complementary
#C8C33B #3B87C8 #7C3BC8
monochromatic
#6B681E #9A972B #C8C33B #D5D26B #E3E09B

Accessibility & contrast

On white

1.85
#C8C33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#C8C33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C33B
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C33B#FFFFFF#000000##000000
##C8C33B1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB24
Deuteranopia (green-blind)
#D6C145
Tritanopia (blue-blind)
#D6B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c8c33b;
/* rgb */ color: rgb(200, 195, 59);
/* oklch */ color: oklch(79.7% 0.151 107.3);
Tailwind
colors: {
  custom: {
    50: '#dcd47a',
    500: '#c8c33b',
    950: '#000000',
  },
}
SCSS
$custom: #c8c33b;
$custom-light: #dcd47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c33b",
  "rgb": {
    "r": 200,
    "g": 195,
    "b": 59
  },
  "hsl": {
    "h": 57.872,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79743,
    "c": 0.15141,
    "h": 107.3
  },
  "luminance": 0.51625
}

Semantic roles & 50–950 ramp

primary
#C8C33B
secondary
#333574
accent
#4EDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C33B

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

Preview Lab → · Contrast checker → · Palette generator →

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