#C6C845#C6C845

#C6C845 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.7% C 0.150 H 110.2°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#C6C845
RGBrgb(198, 200, 69)
HSLhsl(61, 54%, 53%)
HSVhsv(61, 66%, 78%)
CMYKcmyk(1%, 0%, 65.5%, 21.6%)
CIE-LABlab(78.31, -16.77, 62.56)
CIE-LCHlch(78.31, 64.77, 105.01°)
OKLaboklab(80.73% -0.0518 0.1408)
OKLCHoklch(80.73% 0.15 110.2)
XYZxyz(45.0186, 53.7452, 13.6315)
Luminance0.5374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C845 #4745C8
analogous
#C88845 #C6C845 #84C845
triadic
#C6C845 #45C6C8 #C845C6
tetradic
#C6C845 #45C888 #4745C8 #C84584
square
#C6C845 #45C888 #4745C8 #C84584
split-complementary
#C6C845 #4584C8 #8845C8
monochromatic
#707121 #9FA02F #C6C845 #D4D674 #E3E4A3

Accessibility & contrast

On white

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

On black

11.75
#C6C845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C845
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C845#FFFFFF#000000##000000
##C6C8451.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C033
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#D3BCAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c6c845;
/* rgb */ color: rgb(198, 200, 69);
/* oklch */ color: oklch(80.7% 0.150 110.2);
Tailwind
colors: {
  custom: {
    50: '#dad880',
    500: '#c6c845',
    950: '#000000',
  },
}
SCSS
$custom: #c6c845;
$custom-light: #dad880;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c845",
  "rgb": {
    "r": 198,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 60.916,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80727,
    "c": 0.15004,
    "h": 110.2
  },
  "luminance": 0.53744
}

Semantic roles & 50–950 ramp

primary
#C6C845
secondary
#38377A
accent
#4ADE4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C6C845

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

Preview Lab → · Contrast checker → · Palette generator →

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