#C7CA5A#C7CA5A

#C7CA5A is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.4% C 0.135 H 110.5°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#C7CA5A
RGBrgb(199, 202, 90)
HSLhsl(62, 51%, 57%)
HSVhsv(62, 55%, 79%)
CMYKcmyk(1.5%, 0%, 55.4%, 20.8%)
CIE-LABlab(79.11, -15.93, 54.51)
CIE-LCHlch(79.11, 56.78, 106.29°)
OKLaboklab(81.44% -0.0472 0.1266)
OKLCHoklch(81.44% 0.135 110.5)
XYZxyz(46.5204, 55.1224, 17.8600)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA5A #5D5ACA
analogous
#CA955A #C7CA5A #8FCA5A
triadic
#C7CA5A #5AC7CA #CA5AC7
tetradic
#C7CA5A #5ACA95 #5D5ACA #CA5A8F
square
#C7CA5A #5ACA95 #5D5ACA #CA5A8F
split-complementary
#C7CA5A #5A8FCA #955ACA
monochromatic
#7E8029 #ACAF38 #C7CA5A #D7D988 #E6E8B7

Accessibility & contrast

On white

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

On black

12.02
#C7CA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA5A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA5A#FFFFFF#000000##000000
##C7CA5A1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24E
Deuteranopia (green-blind)
#D9C660
Tritanopia (blue-blind)
#D3BFB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7ca5a;
/* rgb */ color: rgb(199, 202, 90);
/* oklch */ color: oklch(81.4% 0.135 110.5);
Tailwind
colors: {
  custom: {
    50: '#dada8c',
    500: '#c7ca5a',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca5a;
$custom-light: #dada8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca5a",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 61.607,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81441,
    "c": 0.1351,
    "h": 110.5
  },
  "luminance": 0.55121
}

Semantic roles & 50–950 ramp

primary
#C7CA5A
secondary
#424088
accent
#4DDB51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7CA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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