#C7CA4E#C7CA4E

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

Color values

HEX#C7CA4E
RGBrgb(199, 202, 78)
HSLhsl(61, 54%, 55%)
HSVhsv(61, 61%, 79%)
CMYKcmyk(1.5%, 0%, 61.4%, 20.8%)
CIE-LABlab(79.00, -16.79, 59.63)
CIE-LCHlch(79.00, 61.95, 105.73°)
OKLaboklab(81.32% -0.0509 0.136)
OKLCHoklch(81.32% 0.145 110.5)
XYZxyz(46.0502, 54.9344, 15.3838)
Luminance0.5493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA4E #514ECA
analogous
#CA8F4E #C7CA4E #89CA4E
triadic
#C7CA4E #4EC7CA #CA4EC7
tetradic
#C7CA4E #4ECA8F #514ECA #CA4E89
square
#C7CA4E #4ECA8F #514ECA #CA4E89
split-complementary
#C7CA4E #4E89CA #8F4ECA
monochromatic
#777924 #A6A832 #C7CA4E #D6D87D #E5E6AC

Accessibility & contrast

On white

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

On black

11.99
#C7CA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA4E
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA4E#FFFFFF#000000##000000
##C7CA4E1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23F
Deuteranopia (green-blind)
#DAC556
Tritanopia (blue-blind)
#D4BEB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7ca4e;
/* rgb */ color: rgb(199, 202, 78);
/* oklch */ color: oklch(81.3% 0.145 110.5);
Tailwind
colors: {
  custom: {
    50: '#dbd985',
    500: '#c7ca4e',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca4e;
$custom-light: #dbd985;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca4e",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 78
  },
  "hsl": {
    "h": 61.452,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.8132,
    "c": 0.14519,
    "h": 110.5
  },
  "luminance": 0.54933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7CA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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