#C6CA5A#C6CA5A

#C6CA5A is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.4% C 0.135 H 110.9°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#C6CA5A
RGBrgb(198, 202, 90)
HSLhsl(62, 51%, 57%)
HSVhsv(62, 55%, 79%)
CMYKcmyk(2%, 0%, 55.4%, 20.8%)
CIE-LABlab(79.03, -16.34, 54.40)
CIE-LCHlch(79.03, 56.80, 106.72°)
OKLaboklab(81.36% -0.0483 0.1264)
OKLCHoklch(81.36% 0.135 110.9)
XYZxyz(46.2558, 54.9860, 17.8476)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CA5A #5E5ACA
analogous
#CA965A #C6CA5A #8ECA5A
triadic
#C6CA5A #5AC6CA #CA5AC6
tetradic
#C6CA5A #5ACA96 #5E5ACA #CA5A8E
square
#C6CA5A #5ACA96 #5E5ACA #CA5A8E
split-complementary
#C6CA5A #5A8ECA #965ACA
monochromatic
#7D8029 #AAAF38 #C6CA5A #D6D988 #E6E8B7

Accessibility & contrast

On white

1.75
#C6CA5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#C6CA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CA5A
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CA5A#FFFFFF#000000##000000
##C6CA5A1.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24E
Deuteranopia (green-blind)
#D9C560
Tritanopia (blue-blind)
#D2BFB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c6ca5a;
/* rgb */ color: rgb(198, 202, 90);
/* oklch */ color: oklch(81.4% 0.135 110.9);
Tailwind
colors: {
  custom: {
    50: '#dada8c',
    500: '#c6ca5a',
    950: '#000000',
  },
}
SCSS
$custom: #c6ca5a;
$custom-light: #dada8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ca5a",
  "rgb": {
    "r": 198,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 62.143,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81359,
    "c": 0.13529,
    "h": 110.9
  },
  "luminance": 0.54985
}

Semantic roles & 50–950 ramp

primary
#C6CA5A
secondary
#434088
accent
#4DDB52
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C6CA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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