#C6CA4F#C6CA4F

#C6CA4F is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.2% C 0.145 H 111.0°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#C6CA4F
RGBrgb(198, 202, 79)
HSLhsl(62, 54%, 55%)
HSVhsv(62, 61%, 79%)
CMYKcmyk(2%, 0%, 60.9%, 20.8%)
CIE-LABlab(78.93, -17.14, 59.11)
CIE-LCHlch(78.93, 61.54, 106.17°)
OKLaboklab(81.25% -0.0518 0.135)
OKLCHoklch(81.25% 0.145 111)
XYZxyz(45.8218, 54.8124, 15.5617)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CA4F #534FCA
analogous
#CA904F #C6CA4F #89CA4F
triadic
#C6CA4F #4FC6CA #CA4FC6
tetradic
#C6CA4F #4FCA90 #534FCA #CA4F89
square
#C6CA4F #4FCA90 #534FCA #CA4F89
split-complementary
#C6CA4F #4F89CA #904FCA
monochromatic
#777A25 #A5A933 #C6CA4F #D5D87E #E4E6AD

Accessibility & contrast

On white

1.76
#C6CA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#C6CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CA4F
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CA4F#FFFFFF#000000##000000
##C6CA4F1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#DAC557
Tritanopia (blue-blind)
#D3BEB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c6ca4f;
/* rgb */ color: rgb(198, 202, 79);
/* oklch */ color: oklch(81.2% 0.145 111.0);
Tailwind
colors: {
  custom: {
    50: '#dad986',
    500: '#c6ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #c6ca4f;
$custom-light: #dad986;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ca4f",
  "rgb": {
    "r": 198,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 61.951,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81247,
    "c": 0.1446,
    "h": 111
  },
  "luminance": 0.54811
}

Semantic roles & 50–950 ramp

primary
#C6CA4F
secondary
#3D3B82
accent
#4BDD4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C6CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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