#C7CA4B#C7CA4B

#C7CA4B 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#C7CA4B
RGBrgb(199, 202, 75)
HSLhsl(61, 55%, 54%)
HSVhsv(61, 63%, 79%)
CMYKcmyk(1.5%, 0%, 62.9%, 20.8%)
CIE-LABlab(78.98, -16.99, 60.85)
CIE-LCHlch(78.98, 63.18, 105.60°)
OKLaboklab(81.29% -0.0518 0.1381)
OKLCHoklch(81.29% 0.148 110.6)
XYZxyz(45.9451, 54.8923, 14.8303)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA4B #4E4BCA
analogous
#CA8D4B #C7CA4B #88CA4B
triadic
#C7CA4B #4BC7CA #CA4BC7
tetradic
#C7CA4B #4BCA8D #4E4BCA #CA4B88
square
#C7CA4B #4BCA8D #4E4BCA #CA4B88
split-complementary
#C7CA4B #4B88CA #8D4BCA
monochromatic
#757723 #A4A731 #C7CA4B #D6D87A #E4E6AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CA4B#FFFFFF#000000##000000
##C7CA4B1.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)
#D9C23B
Deuteranopia (green-blind)
#DAC553
Tritanopia (blue-blind)
#D4BEB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7ca4b;
/* rgb */ color: rgb(199, 202, 75);
/* oklch */ color: oklch(81.3% 0.148 110.6);
Tailwind
colors: {
  custom: {
    50: '#dbd983',
    500: '#c7ca4b',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca4b;
$custom-light: #dbd983;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca4b",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 61.417,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81293,
    "c": 0.14752,
    "h": 110.6
  },
  "luminance": 0.54891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7CA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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