#C6C045#C6C045

#C6C045 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.0% C 0.142 H 106.5°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#C6C045
RGBrgb(198, 192, 69)
HSLhsl(57, 53%, 52%)
HSVhsv(57, 65%, 78%)
CMYKcmyk(0%, 3%, 65.2%, 22.4%)
CIE-LABlab(76.15, -12.74, 60.33)
CIE-LCHlch(76.15, 61.66, 101.92°)
OKLaboklab(79% -0.0404 0.1361)
OKLCHoklch(79% 0.142 106.5)
XYZxyz(43.2141, 50.1362, 13.0300)
Luminance0.5013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C045 #454BC6
analogous
#C67F45 #C6C045 #8CC645
triadic
#C6C045 #45C6C0 #C045C6
tetradic
#C6C045 #45C67F #454BC6 #C6458C
square
#C6C045 #45C67F #454BC6 #C6458C
split-complementary
#C6C045 #458CC6 #7F45C6
monochromatic
#6F6B22 #9E9830 #C6C045 #D4D074 #E3E0A3

Accessibility & contrast

On white

1.90
#C6C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#C6C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C045
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C045#FFFFFF#000000##000000
##C6C0451.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B935
Deuteranopia (green-blind)
#D2BE4D
Tritanopia (blue-blind)
#D4B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c6c045;
/* rgb */ color: rgb(198, 192, 69);
/* oklch */ color: oklch(79.0% 0.142 106.5);
Tailwind
colors: {
  custom: {
    50: '#dad27f',
    500: '#c6c045',
    950: '#000000',
  },
}
SCSS
$custom: #c6c045;
$custom-light: #dad27f;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c045",
  "rgb": {
    "r": 198,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 57.209,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79004,
    "c": 0.142,
    "h": 106.5
  },
  "luminance": 0.50135
}

Semantic roles & 50–950 ramp

primary
#C6C045
secondary
#373A78
accent
#52DC4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6C045

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

Preview Lab → · Contrast checker → · Palette generator →

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