#C6C92E#C6C92E

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

Color values

HEX#C6C92E
RGBrgb(198, 201, 46)
HSLhsl(61, 63%, 48%)
HSVhsv(61, 77%, 79%)
CMYKcmyk(1.5%, 0%, 77.1%, 21.2%)
CIE-LABlab(78.45, -18.36, 70.69)
CIE-LCHlch(78.45, 73.04, 104.56°)
OKLaboklab(80.79% -0.0583 0.1541)
OKLCHoklch(80.79% 0.165 110.7)
XYZxyz(44.6701, 53.9776, 10.6499)
Luminance0.5398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C92E #312EC9
analogous
#C97E2E #C6C92E #78C92E
triadic
#C6C92E #2EC6C9 #C92EC6
tetradic
#C6C92E #2EC97E #312EC9 #C92E78
square
#C6C92E #2EC97E #312EC9 #C92E78
split-complementary
#C6C92E #2E78C9 #7E2EC9
monochromatic
#646517 #959723 #C6C92E #D7D95B #E3E58D

Accessibility & contrast

On white

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

On black

11.80
#C6C92E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C92E
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C92E#FFFFFF#000000##000000
##C6C92E1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6c92e;
/* rgb */ color: rgb(198, 201, 46);
/* oklch */ color: oklch(80.8% 0.165 110.7);
Tailwind
colors: {
  custom: {
    50: '#dbd974',
    500: '#c6c92e',
    950: '#000000',
  },
}
SCSS
$custom: #c6c92e;
$custom-light: #dbd974;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c92e",
  "rgb": {
    "r": 198,
    "g": 201,
    "b": 46
  },
  "hsl": {
    "h": 61.161,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80792,
    "c": 0.16476,
    "h": 110.7
  },
  "luminance": 0.53976
}

Semantic roles & 50–950 ramp

primary
#C6C92E
secondary
#2D2C70
accent
#42E645
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6C92E

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

Preview Lab → · Contrast checker → · Palette generator →

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