#C6CA2F#C6CA2F

#C6CA2F is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.0% C 0.165 H 111.1°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#C6CA2F
RGBrgb(198, 202, 47)
HSLhsl(62, 62%, 49%)
HSVhsv(62, 77%, 79%)
CMYKcmyk(2%, 0%, 76.7%, 20.8%)
CIE-LABlab(78.73, -18.82, 70.65)
CIE-LCHlch(78.73, 73.11, 104.92°)
OKLaboklab(81.02% -0.0595 0.1542)
OKLCHoklch(81.02% 0.165 111.1)
XYZxyz(44.9239, 54.4533, 10.8328)
Luminance0.5445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CA2F #332FCA
analogous
#CA812F #C6CA2F #79CA2F
triadic
#C6CA2F #2FC6CA #CA2FC6
tetradic
#C6CA2F #2FCA81 #332FCA #CA2F79
square
#C6CA2F #2FCA81 #332FCA #CA2F79
split-complementary
#C6CA2F #2F79CA #812FCA
monochromatic
#656718 #959823 #C6CA2F #D6D95D #E3E58F

Accessibility & contrast

On white

1.77
#C6CA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#C6CA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CA2F
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CA2F#FFFFFF#000000##000000
##C6CA2F1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#DBC53D
Tritanopia (blue-blind)
#D4BDAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c6ca2f;
/* rgb */ color: rgb(198, 202, 47);
/* oklch */ color: oklch(81.0% 0.165 111.1);
Tailwind
colors: {
  custom: {
    50: '#dbd975',
    500: '#c6ca2f',
    950: '#000000',
  },
}
SCSS
$custom: #c6ca2f;
$custom-light: #dbd975;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ca2f",
  "rgb": {
    "r": 198,
    "g": 202,
    "b": 47
  },
  "hsl": {
    "h": 61.548,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81015,
    "c": 0.16526,
    "h": 111.1
  },
  "luminance": 0.54452
}

Semantic roles & 50–950 ramp

primary
#C6CA2F
secondary
#2E2C71
accent
#42E547
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6CA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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