#C6C82F#C6C82F

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

Color values

HEX#C6C82F
RGBrgb(198, 200, 47)
HSLhsl(61, 62%, 48%)
HSVhsv(61, 77%, 78%)
CMYKcmyk(1%, 0%, 76.5%, 21.6%)
CIE-LABlab(78.18, -17.83, 70.15)
CIE-LCHlch(78.18, 72.38, 104.26°)
OKLaboklab(80.58% -0.0568 0.1531)
OKLCHoklch(80.58% 0.163 110.3)
XYZxyz(44.4577, 53.5208, 10.6774)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C82F #312FC8
analogous
#C87D2F #C6C82F #79C82F
triadic
#C6C82F #2FC6C8 #C82FC6
tetradic
#C6C82F #2FC87D #312FC8 #C82F79
square
#C6C82F #2FC87D #312FC8 #C82F79
split-complementary
#C6C82F #2F79C8 #7D2FC8
monochromatic
#646518 #959623 #C6C82F #D7D95C #E3E48D

Accessibility & contrast

On white

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

On black

11.70
#C6C82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C82F
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C82F#FFFFFF#000000##000000
##C6C82F1.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6c82f;
/* rgb */ color: rgb(198, 200, 47);
/* oklch */ color: oklch(80.6% 0.163 110.3);
Tailwind
colors: {
  custom: {
    50: '#dbd874',
    500: '#c6c82f',
    950: '#000000',
  },
}
SCSS
$custom: #c6c82f;
$custom-light: #dbd874;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c82f",
  "rgb": {
    "r": 198,
    "g": 200,
    "b": 47
  },
  "hsl": {
    "h": 60.784,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.8058,
    "c": 0.16331,
    "h": 110.3
  },
  "luminance": 0.5352
}

Semantic roles & 50–950 ramp

primary
#C6C82F
secondary
#2D2C6F
accent
#43E545
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6C82F

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

Preview Lab → · Contrast checker → · Palette generator →

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