#C8C92B#C8C92B

#C8C92B is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.9% C 0.166 H 110.0°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#C8C92B
RGBrgb(200, 201, 43)
HSLhsl(60, 65%, 48%)
HSVhsv(60, 79%, 79%)
CMYKcmyk(0.5%, 0%, 78.6%, 21.2%)
CIE-LABlab(78.59, -17.62, 71.75)
CIE-LCHlch(78.59, 73.88, 103.80°)
OKLaboklab(80.94% -0.0566 0.1557)
OKLCHoklch(80.94% 0.166 110)
XYZxyz(45.1438, 54.2284, 10.3741)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C92B #2C2BC9
analogous
#C97B2B #C8C92B #79C92B
triadic
#C8C92B #2BC8C9 #C92BC8
tetradic
#C8C92B #2BC97B #2C2BC9 #C92B79
square
#C8C92B #2BC97B #2C2BC9 #C92B79
split-complementary
#C8C92B #2B79C9 #7B2BC9
monochromatic
#646415 #969720 #C8C92B #DADB56 #E5E689

Accessibility & contrast

On white

1.77
#C8C92B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#C8C92B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C92B
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C92B#FFFFFF#000000##000000
##C8C92B1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC000
Deuteranopia (green-blind)
#DBC53A
Tritanopia (blue-blind)
#D7BCAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c92b;
/* rgb */ color: rgb(200, 201, 43);
/* oklch */ color: oklch(80.9% 0.166 110.0);
Tailwind
colors: {
  custom: {
    50: '#ddd973',
    500: '#c8c92b',
    950: '#000000',
  },
}
SCSS
$custom: #c8c92b;
$custom-light: #ddd973;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c92b",
  "rgb": {
    "r": 200,
    "g": 201,
    "b": 43
  },
  "hsl": {
    "h": 60.38,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.80944,
    "c": 0.1657,
    "h": 110
  },
  "luminance": 0.54227
}

Semantic roles & 50–950 ramp

primary
#C8C92B
secondary
#2A2A6F
accent
#40E841
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C92B

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

Preview Lab → · Contrast checker → · Palette generator →

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