#C7CA4A#C7CA4A

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

Color values

HEX#C7CA4A
RGBrgb(199, 202, 74)
HSLhsl(61, 55%, 54%)
HSVhsv(61, 63%, 79%)
CMYKcmyk(1.5%, 0%, 63.4%, 20.8%)
CIE-LABlab(78.97, -17.05, 61.26)
CIE-LCHlch(78.97, 63.58, 105.55°)
OKLaboklab(81.28% -0.0521 0.1388)
OKLCHoklch(81.28% 0.148 110.6)
XYZxyz(45.9111, 54.8788, 14.6514)
Luminance0.5488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA4A #4D4ACA
analogous
#CA8D4A #C7CA4A #87CA4A
triadic
#C7CA4A #4AC7CA #CA4AC7
tetradic
#C7CA4A #4ACA8D #4D4ACA #CA4A87
square
#C7CA4A #4ACA8D #4D4ACA #CA4A87
split-complementary
#C7CA4A #4A87CA #8D4ACA
monochromatic
#757723 #A3A631 #C7CA4A #D6D879 #E4E6A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CA4A#FFFFFF#000000##000000
##C7CA4A1.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)
#D9C239
Deuteranopia (green-blind)
#DAC552
Tritanopia (blue-blind)
#D4BEB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca4a;
/* rgb */ color: rgb(199, 202, 74);
/* oklch */ color: oklch(81.3% 0.148 110.6);
Tailwind
colors: {
  custom: {
    50: '#dbd983',
    500: '#c7ca4a',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca4a;
$custom-light: #dbd983;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca4a",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 74
  },
  "hsl": {
    "h": 61.406,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81284,
    "c": 0.14827,
    "h": 110.6
  },
  "luminance": 0.54878
}

Semantic roles & 50–950 ramp

primary
#C7CA4A
secondary
#3A397F
accent
#4ADE4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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