#C6CC4F#C6CC4F

#C6CC4F is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.7% C 0.147 H 111.8°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#C6CC4F
RGBrgb(198, 204, 79)
HSLhsl(63, 55%, 55%)
HSVhsv(63, 61%, 80%)
CMYKcmyk(2.9%, 0%, 61.3%, 20%)
CIE-LABlab(79.48, -18.13, 59.69)
CIE-LCHlch(79.48, 62.39, 106.90°)
OKLaboklab(81.68% -0.0546 0.1363)
OKLCHoklch(81.68% 0.147 111.8)
XYZxyz(46.2941, 55.7570, 15.7191)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CC4F #554FCC
analogous
#CC934F #C6CC4F #87CC4F
triadic
#C6CC4F #4FC6CC #CC4FC6
tetradic
#C6CC4F #4FCC93 #554FCC #CC4F87
square
#C6CC4F #4FCC93 #554FCC #CC4F87
split-complementary
#C6CC4F #4F87CC #934FCC
monochromatic
#787D24 #A6AC32 #C6CC4F #D5DA7E #E5E7AE

Accessibility & contrast

On white

1.73
#C6CC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#C6CC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CC4F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CC4F#FFFFFF#000000##000000
##C6CC4F1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC340
Deuteranopia (green-blind)
#DBC757
Tritanopia (blue-blind)
#D3C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c6cc4f;
/* rgb */ color: rgb(198, 204, 79);
/* oklch */ color: oklch(81.7% 0.147 111.8);
Tailwind
colors: {
  custom: {
    50: '#dadb86',
    500: '#c6cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #c6cc4f;
$custom-light: #dadb86;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cc4f",
  "rgb": {
    "r": 198,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 62.88,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81681,
    "c": 0.14678,
    "h": 111.8
  },
  "luminance": 0.55756
}

Semantic roles & 50–950 ramp

primary
#C6CC4F
secondary
#3E3B84
accent
#49DE51
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C6CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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