#C7CA4C#C7CA4C

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

Color values

HEX#C7CA4C
RGBrgb(199, 202, 76)
HSLhsl(61, 54%, 55%)
HSVhsv(61, 62%, 79%)
CMYKcmyk(1.5%, 0%, 62.4%, 20.8%)
CIE-LABlab(78.99, -16.92, 60.45)
CIE-LCHlch(78.99, 62.77, 105.64°)
OKLaboklab(81.3% -0.0515 0.1374)
OKLCHoklch(81.3% 0.147 110.6)
XYZxyz(45.9796, 54.9061, 15.0119)
Luminance0.5491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA4C #4F4CCA
analogous
#CA8E4C #C7CA4C #88CA4C
triadic
#C7CA4C #4CC7CA #CA4CC7
tetradic
#C7CA4C #4CCA8E #4F4CCA #CA4C88
square
#C7CA4C #4CCA8E #4F4CCA #CA4C88
split-complementary
#C7CA4C #4C88CA #8E4CCA
monochromatic
#767824 #A4A732 #C7CA4C #D6D87B #E5E6AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CA4C#FFFFFF#000000##000000
##C7CA4C1.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)
#D9C23C
Deuteranopia (green-blind)
#DAC554
Tritanopia (blue-blind)
#D4BEB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7ca4c;
/* rgb */ color: rgb(199, 202, 76);
/* oklch */ color: oklch(81.3% 0.147 110.6);
Tailwind
colors: {
  custom: {
    50: '#dbd984',
    500: '#c7ca4c',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca4c;
$custom-light: #dbd984;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca4c",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 76
  },
  "hsl": {
    "h": 61.429,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81302,
    "c": 0.14675,
    "h": 110.6
  },
  "luminance": 0.54905
}

Semantic roles & 50–950 ramp

primary
#C7CA4C
secondary
#3B3A80
accent
#4ADE4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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