#C8CA6F#C8CA6F

#C8CA6F is a light, moderate yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.114 H 109.8°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#C8CA6F
RGBrgb(200, 202, 111)
HSLhsl(61, 46%, 61%)
HSVhsv(61, 45%, 79%)
CMYKcmyk(1%, 0%, 45%, 20.8%)
CIE-LABlab(79.43, -13.67, 44.96)
CIE-LCHlch(79.43, 47.00, 106.91°)
OKLaboklab(81.79% -0.0388 0.1077)
OKLCHoklch(81.79% 0.114 109.8)
XYZxyz(47.8100, 55.6691, 23.2625)
Luminance0.5567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA6F #716FCA
analogous
#CA9F6F #C8CA6F #9BCA6F
triadic
#C8CA6F #6FC8CA #CA6FC8
tetradic
#C8CA6F #6FCA9F #716FCA #CA6F9B
square
#C8CA6F #6FCA9F #716FCA #CA6F9B
split-complementary
#C8CA6F #6F9BCA #9F6FCA
monochromatic
#898B33 #B6B844 #C8CA6F #D9DA9C #EAEBC8

Accessibility & contrast

On white

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

On black

12.13
#C8CA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA6F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA6F#FFFFFF#000000##000000
##C8CA6F1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C367
Deuteranopia (green-blind)
#D8C673
Tritanopia (blue-blind)
#D3C0B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8ca6f;
/* rgb */ color: rgb(200, 202, 111);
/* oklch */ color: oklch(81.8% 0.114 109.8);
Tailwind
colors: {
  custom: {
    50: '#dada9a',
    500: '#c8ca6f',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca6f;
$custom-light: #dada9a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca6f",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 111
  },
  "hsl": {
    "h": 61.319,
    "s": 46.193,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81786,
    "c": 0.11447,
    "h": 109.8
  },
  "luminance": 0.55668
}

Semantic roles & 50–950 ramp

primary
#C8CA6F
secondary
#4C4B92
accent
#2CB92F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C8CA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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