#C6C92C#C6C92C

#C6C92C is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.8% C 0.166 H 110.7°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#C6C92C
RGBrgb(198, 201, 44)
HSLhsl(61, 64%, 48%)
HSVhsv(61, 78%, 79%)
CMYKcmyk(1.5%, 0%, 78.1%, 21.2%)
CIE-LABlab(78.44, -18.44, 71.27)
CIE-LCHlch(78.44, 73.61, 104.50°)
OKLaboklab(80.78% -0.0587 0.155)
OKLCHoklch(80.78% 0.166 110.7)
XYZxyz(44.6316, 53.9622, 10.4471)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C92C #2F2CC9
analogous
#C97D2C #C6C92C #78C92C
triadic
#C6C92C #2CC6C9 #C92CC6
tetradic
#C6C92C #2CC97D #2F2CC9 #C92C78
square
#C6C92C #2CC97D #2F2CC9 #C92C78
split-complementary
#C6C92C #2C78C9 #7D2CC9
monochromatic
#636516 #959721 #C6C92C #D8DA58 #E4E58A

Accessibility & contrast

On white

1.78
#C6C92C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#C6C92C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C92C
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C92C#FFFFFF#000000##000000
##C6C92C1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#DAC43A
Tritanopia (blue-blind)
#D4BCAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c6c92c;
/* rgb */ color: rgb(198, 201, 44);
/* oklch */ color: oklch(80.8% 0.166 110.7);
Tailwind
colors: {
  custom: {
    50: '#dbd973',
    500: '#c6c92c',
    950: '#000000',
  },
}
SCSS
$custom: #c6c92c;
$custom-light: #dbd973;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c92c",
  "rgb": {
    "r": 198,
    "g": 201,
    "b": 44
  },
  "hsl": {
    "h": 61.146,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.80782,
    "c": 0.1657,
    "h": 110.7
  },
  "luminance": 0.53961
}

Semantic roles & 50–950 ramp

primary
#C6C92C
secondary
#2C2A6F
accent
#41E744
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C6C92C

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

Preview Lab → · Contrast checker → · Palette generator →

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