#C8C92F#C8C92F

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

Color values

HEX#C8C92F
RGBrgb(200, 201, 47)
HSLhsl(60, 62%, 49%)
HSVhsv(60, 77%, 79%)
CMYKcmyk(0.5%, 0%, 76.6%, 21.2%)
CIE-LABlab(78.61, -17.48, 70.60)
CIE-LCHlch(78.61, 72.73, 103.91°)
OKLaboklab(80.96% -0.0559 0.154)
OKLCHoklch(80.96% 0.164 110)
XYZxyz(45.2208, 54.2592, 10.7798)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C92F #302FC9
analogous
#C97D2F #C8C92F #7BC92F
triadic
#C8C92F #2FC8C9 #C92FC8
tetradic
#C8C92F #2FC97D #302FC9 #C92F7B
square
#C8C92F #2FC97D #302FC9 #C92F7B
split-complementary
#C8C92F #2F7BC9 #7D2FC9
monochromatic
#656618 #979723 #C8C92F #D8D95C #E4E58E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C92F#FFFFFF#000000##000000
##C8C92F1.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)
#DBC53C
Tritanopia (blue-blind)
#D6BCAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c92f;
/* rgb */ color: rgb(200, 201, 47);
/* oklch */ color: oklch(81.0% 0.164 110.0);
Tailwind
colors: {
  custom: {
    50: '#ddd975',
    500: '#c8c92f',
    950: '#000000',
  },
}
SCSS
$custom: #c8c92f;
$custom-light: #ddd975;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c92f",
  "rgb": {
    "r": 200,
    "g": 201,
    "b": 47
  },
  "hsl": {
    "h": 60.39,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.80964,
    "c": 0.16383,
    "h": 110
  },
  "luminance": 0.54258
}

Semantic roles & 50–950 ramp

primary
#C8C92F
secondary
#2D2C70
accent
#43E544
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C92F

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

Preview Lab → · Contrast checker → · Palette generator →

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