#C8C73B#C8C73B

#C8C73B is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.6% C 0.155 H 109.0°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#C8C73B
RGBrgb(200, 199, 59)
HSLhsl(60, 56%, 51%)
HSVhsv(60, 71%, 78%)
CMYKcmyk(0%, 0.5%, 70.5%, 21.6%)
CIE-LABlab(78.14, -15.96, 66.20)
CIE-LCHlch(78.14, 68.10, 103.56°)
OKLaboklab(80.6% -0.0506 0.1468)
OKLCHoklch(80.6% 0.155 109)
XYZxyz(45.0339, 53.4433, 12.0802)
Luminance0.5344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C73B #3B3CC8
analogous
#C8803B #C8C73B #83C83B
triadic
#C8C73B #3BC8C7 #C73BC8
tetradic
#C8C73B #3BC880 #3B3CC8 #C83B83
square
#C8C73B #3BC880 #3B3CC8 #C83B83
split-complementary
#C8C73B #3B83C8 #803BC8
monochromatic
#6B6A1E #9A9A2B #C8C73B #D5D56B #E3E29B

Accessibility & contrast

On white

1.80
#C8C73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#C8C73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C73B
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C73B#FFFFFF#000000##000000
##C8C73B1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF22
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#D6BAAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c8c73b;
/* rgb */ color: rgb(200, 199, 59);
/* oklch */ color: oklch(80.6% 0.155 109.0);
Tailwind
colors: {
  custom: {
    50: '#dcd77a',
    500: '#c8c73b',
    950: '#000000',
  },
}
SCSS
$custom: #c8c73b;
$custom-light: #dcd77a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c73b",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 59
  },
  "hsl": {
    "h": 59.574,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.80603,
    "c": 0.15528,
    "h": 109
  },
  "luminance": 0.53442
}

Semantic roles & 50–950 ramp

primary
#C8C73B
secondary
#333374
accent
#49DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C73B

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

Preview Lab → · Contrast checker → · Palette generator →

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