#C6C831#C6C831

#C6C831 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.6% C 0.162 H 110.3°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#C6C831
RGBrgb(198, 200, 49)
HSLhsl(61, 61%, 49%)
HSVhsv(61, 76%, 78%)
CMYKcmyk(1%, 0%, 75.5%, 21.6%)
CIE-LABlab(78.19, -17.75, 69.55)
CIE-LCHlch(78.19, 71.78, 104.32°)
OKLaboklab(80.59% -0.0564 0.1522)
OKLCHoklch(80.59% 0.162 110.3)
XYZxyz(44.4990, 53.5373, 10.8948)
Luminance0.5354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C831 #3331C8
analogous
#C87F31 #C6C831 #7BC831
triadic
#C6C831 #31C6C8 #C831C6
tetradic
#C6C831 #31C87F #3331C8 #C8317B
square
#C6C831 #31C87F #3331C8 #C8317B
split-complementary
#C6C831 #317BC8 #7F31C8
monochromatic
#656619 #959725 #C6C831 #D6D85F #E3E490

Accessibility & contrast

On white

1.79
#C6C831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#C6C831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C831
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C831#FFFFFF#000000##000000
##C6C8311.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF08
Deuteranopia (green-blind)
#DAC33E
Tritanopia (blue-blind)
#D4BBAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c6c831;
/* rgb */ color: rgb(198, 200, 49);
/* oklch */ color: oklch(80.6% 0.162 110.3);
Tailwind
colors: {
  custom: {
    50: '#dbd875',
    500: '#c6c831',
    950: '#000000',
  },
}
SCSS
$custom: #c6c831;
$custom-light: #dbd875;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c831",
  "rgb": {
    "r": 198,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 60.795,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80591,
    "c": 0.1623,
    "h": 110.3
  },
  "luminance": 0.53536
}

Semantic roles & 50–950 ramp

primary
#C6C831
secondary
#2E2D70
accent
#44E446
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6C831

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

Preview Lab → · Contrast checker → · Palette generator →

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