#C8CA3F#C8CA3F

#C8CA3F is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.3% C 0.156 H 110.2°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#C8CA3F
RGBrgb(200, 202, 63)
HSLhsl(61, 57%, 52%)
HSVhsv(61, 69%, 79%)
CMYKcmyk(1%, 0%, 68.8%, 20.8%)
CIE-LABlab(78.97, -17.26, 65.57)
CIE-LCHlch(78.97, 67.80, 104.75°)
OKLaboklab(81.28% -0.0538 0.1461)
OKLCHoklch(81.28% 0.156 110.2)
XYZxyz(45.8387, 54.8806, 12.8800)
Luminance0.5488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA3F #413FCA
analogous
#CA863F #C8CA3F #83CA3F
triadic
#C8CA3F #3FC8CA #CA3FC8
tetradic
#C8CA3F #3FCA86 #413FCA #CA3F83
square
#C8CA3F #3FCA86 #413FCA #CA3F83
split-complementary
#C8CA3F #3F83CA #863FCA
monochromatic
#6F701F #9EA02C #C8CA3F #D6D76F #E3E49F

Accessibility & contrast

On white

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

On black

11.98
#C8CA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA3F
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA3F#FFFFFF#000000##000000
##C8CA3F1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC128
Deuteranopia (green-blind)
#DBC549
Tritanopia (blue-blind)
#D6BDAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8ca3f;
/* rgb */ color: rgb(200, 202, 63);
/* oklch */ color: oklch(81.3% 0.156 110.2);
Tailwind
colors: {
  custom: {
    50: '#dcd97d',
    500: '#c8ca3f',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca3f;
$custom-light: #dcd97d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca3f",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 63
  },
  "hsl": {
    "h": 60.863,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81279,
    "c": 0.15575,
    "h": 110.2
  },
  "luminance": 0.54879
}

Semantic roles & 50–950 ramp

primary
#C8CA3F
secondary
#353479
accent
#48E04A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8CA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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