#C8C92D#C8C92D

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

Color values

HEX#C8C92D
RGBrgb(200, 201, 45)
HSLhsl(60, 63%, 48%)
HSVhsv(60, 78%, 79%)
CMYKcmyk(0.5%, 0%, 77.6%, 21.2%)
CIE-LABlab(78.60, -17.55, 71.19)
CIE-LCHlch(78.60, 73.32, 103.85°)
OKLaboklab(80.95% -0.0563 0.1549)
OKLCHoklch(80.95% 0.165 110)
XYZxyz(45.1814, 54.2435, 10.5721)
Luminance0.5424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C92D #2E2DC9
analogous
#C97C2D #C8C92D #7AC92D
triadic
#C8C92D #2DC8C9 #C92DC8
tetradic
#C8C92D #2DC97C #2E2DC9 #C92D7A
square
#C8C92D #2DC97C #2E2DC9 #C92D7A
split-complementary
#C8C92D #2D7AC9 #7C2DC9
monochromatic
#646517 #969722 #C8C92D #D9DA59 #E5E58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C92D#FFFFFF#000000##000000
##C8C92D1.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)
#D9C000
Deuteranopia (green-blind)
#DBC53B
Tritanopia (blue-blind)
#D6BCAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c92d;
/* rgb */ color: rgb(200, 201, 45);
/* oklch */ color: oklch(81.0% 0.165 110.0);
Tailwind
colors: {
  custom: {
    50: '#ddd974',
    500: '#c8c92d',
    950: '#000000',
  },
}
SCSS
$custom: #c8c92d;
$custom-light: #ddd974;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c92d",
  "rgb": {
    "r": 200,
    "g": 201,
    "b": 45
  },
  "hsl": {
    "h": 60.385,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.80953,
    "c": 0.16479,
    "h": 110
  },
  "luminance": 0.54242
}

Semantic roles & 50–950 ramp

primary
#C8C92D
secondary
#2B2B6F
accent
#41E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C92D

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

Preview Lab → · Contrast checker → · Palette generator →

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