#C7CA71#C7CA71

#C7CA71 is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.113 H 110.3°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C7CA71
RGBrgb(199, 202, 113)
HSLhsl(62, 46%, 62%)
HSVhsv(62, 44%, 79%)
CMYKcmyk(1.5%, 0%, 44.1%, 20.8%)
CIE-LABlab(79.37, -13.87, 43.90)
CIE-LCHlch(79.37, 46.04, 107.54°)
OKLaboklab(81.73% -0.0391 0.1055)
OKLCHoklch(81.73% 0.113 110.3)
XYZxyz(47.6551, 55.5764, 23.8365)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA71 #7471CA
analogous
#CAA171 #C7CA71 #9BCA71
triadic
#C7CA71 #71C7CA #CA71C7
tetradic
#C7CA71 #71CAA1 #7471CA #CA719B
square
#C7CA71 #71CAA1 #7471CA #CA719B
split-complementary
#C7CA71 #719BCA #A171CA
monochromatic
#898C34 #B5B945 #C7CA71 #D9DB9E #EAEBCA

Accessibility & contrast

On white

1.73
#C7CA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#C7CA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA71
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA71#FFFFFF#000000##000000
##C7CA711.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C36A
Deuteranopia (green-blind)
#D7C675
Tritanopia (blue-blind)
#D2C0B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7ca71;
/* rgb */ color: rgb(199, 202, 113);
/* oklch */ color: oklch(81.7% 0.113 110.3);
Tailwind
colors: {
  custom: {
    50: '#d9da9b',
    500: '#c7ca71',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca71;
$custom-light: #d9da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca71",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 113
  },
  "hsl": {
    "h": 62.022,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81733,
    "c": 0.1125,
    "h": 110.3
  },
  "luminance": 0.55575
}

Semantic roles & 50–950 ramp

primary
#C7CA71
secondary
#4E4C93
accent
#2DB931
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C7CA71

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

Preview Lab → · Contrast checker → · Palette generator →

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