#C6C145#C6C145

#C6C145 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.2% C 0.143 H 107.0°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#C6C145
RGBrgb(198, 193, 69)
HSLhsl(58, 53%, 52%)
HSVhsv(58, 65%, 78%)
CMYKcmyk(0%, 2.5%, 65.2%, 22.4%)
CIE-LABlab(76.42, -13.25, 60.61)
CIE-LCHlch(76.42, 62.04, 102.33°)
OKLaboklab(79.22% -0.0418 0.1367)
OKLCHoklch(79.22% 0.143 107)
XYZxyz(43.4344, 50.5768, 13.1034)
Luminance0.5058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C145 #454AC6
analogous
#C68045 #C6C145 #8BC645
triadic
#C6C145 #45C6C1 #C145C6
tetradic
#C6C145 #45C680 #454AC6 #C6458B
square
#C6C145 #45C680 #454AC6 #C6458B
split-complementary
#C6C145 #458BC6 #8045C6
monochromatic
#6F6C22 #9E9930 #C6C145 #D4D174 #E3E0A3

Accessibility & contrast

On white

1.89
#C6C145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#C6C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C145
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C145#FFFFFF#000000##000000
##C6C1451.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA34
Deuteranopia (green-blind)
#D3BF4D
Tritanopia (blue-blind)
#D4B5A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c6c145;
/* rgb */ color: rgb(198, 193, 69);
/* oklch */ color: oklch(79.2% 0.143 107.0);
Tailwind
colors: {
  custom: {
    50: '#dad37f',
    500: '#c6c145',
    950: '#000000',
  },
}
SCSS
$custom: #c6c145;
$custom-light: #dad37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c145",
  "rgb": {
    "r": 198,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 57.674,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79218,
    "c": 0.14297,
    "h": 107
  },
  "luminance": 0.50575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C6C145

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

Preview Lab → · Contrast checker → · Palette generator →

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