#C6C92D#C6C92D

#C6C92D 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.79:1 contrast (WCAG AA passes).

Color values

HEX#C6C92D
RGBrgb(198, 201, 45)
HSLhsl(61, 63%, 48%)
HSVhsv(61, 78%, 79%)
CMYKcmyk(1.5%, 0%, 77.6%, 21.2%)
CIE-LABlab(78.44, -18.40, 70.98)
CIE-LCHlch(78.44, 73.33, 104.53°)
OKLaboklab(80.79% -0.0585 0.1545)
OKLCHoklch(80.79% 0.165 110.7)
XYZxyz(44.6506, 53.9698, 10.5473)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C92D #302DC9
analogous
#C97E2D #C6C92D #78C92D
triadic
#C6C92D #2DC6C9 #C92DC6
tetradic
#C6C92D #2DC97E #302DC9 #C92D78
square
#C6C92D #2DC97E #302DC9 #C92D78
split-complementary
#C6C92D #2D78C9 #7E2DC9
monochromatic
#636517 #959722 #C6C92D #D7DA59 #E3E58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6C92D#FFFFFF#000000##000000
##C6C92D1.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)
#DAC43B
Tritanopia (blue-blind)
#D4BCAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c6c92d;
/* rgb */ color: rgb(198, 201, 45);
/* oklch */ color: oklch(80.8% 0.165 110.7);
Tailwind
colors: {
  custom: {
    50: '#dbd974',
    500: '#c6c92d',
    950: '#000000',
  },
}
SCSS
$custom: #c6c92d;
$custom-light: #dbd974;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c92d",
  "rgb": {
    "r": 198,
    "g": 201,
    "b": 45
  },
  "hsl": {
    "h": 61.154,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.80787,
    "c": 0.16524,
    "h": 110.7
  },
  "luminance": 0.53969
}

Semantic roles & 50–950 ramp

primary
#C6C92D
secondary
#2C2B6F
accent
#41E645
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C6C92D

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

Preview Lab → · Contrast checker → · Palette generator →

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