#C7CA42#C7CA42

#C7CA42 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.2% C 0.154 H 110.6°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#C7CA42
RGBrgb(199, 202, 66)
HSLhsl(61, 56%, 53%)
HSVhsv(61, 67%, 79%)
CMYKcmyk(1.5%, 0%, 67.3%, 20.8%)
CIE-LABlab(78.91, -17.52, 64.36)
CIE-LCHlch(78.91, 66.70, 105.23°)
OKLaboklab(81.22% -0.0542 0.1441)
OKLCHoklch(81.22% 0.154 110.6)
XYZxyz(45.6586, 54.7777, 13.3212)
Luminance0.5478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA42 #4542CA
analogous
#CA8942 #C7CA42 #83CA42
triadic
#C7CA42 #42C7CA #CA42C7
tetradic
#C7CA42 #42CA89 #4542CA #CA4283
square
#C7CA42 #42CA89 #4542CA #CA4283
split-complementary
#C7CA42 #4283CA #8942CA
monochromatic
#707220 #9FA22D #C7CA42 #D5D772 #E3E5A2

Accessibility & contrast

On white

1.76
#C7CA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#C7CA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA42
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA42#FFFFFF#000000##000000
##C7CA421.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC12D
Deuteranopia (green-blind)
#DBC54C
Tritanopia (blue-blind)
#D5BEAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca42;
/* rgb */ color: rgb(199, 202, 66);
/* oklch */ color: oklch(81.2% 0.154 110.6);
Tailwind
colors: {
  custom: {
    50: '#dbd97e',
    500: '#c7ca42',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca42;
$custom-light: #dbd97e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca42",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 61.324,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81219,
    "c": 0.15399,
    "h": 110.6
  },
  "luminance": 0.54777
}

Semantic roles & 50–950 ramp

primary
#C7CA42
secondary
#37357B
accent
#48DF4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CA42

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

Preview Lab → · Contrast checker → · Palette generator →

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