#C8CA4F#C8CA4F

#C8CA4F is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.4% C 0.144 H 110.1°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#C8CA4F
RGBrgb(200, 202, 79)
HSLhsl(61, 54%, 55%)
HSVhsv(61, 61%, 79%)
CMYKcmyk(1%, 0%, 60.9%, 20.8%)
CIE-LABlab(79.09, -16.31, 59.33)
CIE-LCHlch(79.09, 61.53, 105.37°)
OKLaboklab(81.41% -0.0495 0.1354)
OKLCHoklch(81.41% 0.144 110.1)
XYZxyz(46.3526, 55.0861, 15.5866)
Luminance0.5508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA4F #514FCA
analogous
#CA8F4F #C8CA4F #8ACA4F
triadic
#C8CA4F #4FC8CA #CA4FC8
tetradic
#C8CA4F #4FCA8F #514FCA #CA4F8A
square
#C8CA4F #4FCA8F #514FCA #CA4F8A
split-complementary
#C8CA4F #4F8ACA #8F4FCA
monochromatic
#797A25 #A7A933 #C8CA4F #D7D87E #E5E6AD

Accessibility & contrast

On white

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

On black

12.02
#C8CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA4F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA4F#FFFFFF#000000##000000
##C8CA4F1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#DAC657
Tritanopia (blue-blind)
#D5BEB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8ca4f;
/* rgb */ color: rgb(200, 202, 79);
/* oklch */ color: oklch(81.4% 0.144 110.1);
Tailwind
colors: {
  custom: {
    50: '#dbd986',
    500: '#c8ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca4f;
$custom-light: #dbd986;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca4f",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 60.976,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81412,
    "c": 0.14421,
    "h": 110.1
  },
  "luminance": 0.55085
}

Semantic roles & 50–950 ramp

primary
#C8CA4F
secondary
#3C3B82
accent
#4BDD4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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