#C7CA72#C7CA72

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

Color values

HEX#C7CA72
RGBrgb(199, 202, 114)
HSLhsl(62, 45%, 62%)
HSVhsv(62, 44%, 79%)
CMYKcmyk(1.5%, 0%, 43.6%, 20.8%)
CIE-LABlab(79.39, -13.77, 43.42)
CIE-LCHlch(79.39, 45.55, 107.59°)
OKLaboklab(81.75% -0.0387 0.1045)
OKLCHoklch(81.75% 0.111 110.3)
XYZxyz(47.7117, 55.5990, 24.1346)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA72 #7572CA
analogous
#CAA172 #C7CA72 #9BCA72
triadic
#C7CA72 #72C7CA #CA72C7
tetradic
#C7CA72 #72CAA1 #7572CA #CA729B
square
#C7CA72 #72CAA1 #7572CA #CA729B
split-complementary
#C7CA72 #729BCA #A172CA
monochromatic
#8A8D35 #B5B946 #C7CA72 #D9DB9E #EAEBCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CA72#FFFFFF#000000##000000
##C7CA721.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)
#D6C36B
Deuteranopia (green-blind)
#D7C676
Tritanopia (blue-blind)
#D2C0B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7ca72;
/* rgb */ color: rgb(199, 202, 114);
/* oklch */ color: oklch(81.7% 0.111 110.3);
Tailwind
colors: {
  custom: {
    50: '#d9da9c',
    500: '#c7ca72',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca72;
$custom-light: #d9da9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca72",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 114
  },
  "hsl": {
    "h": 62.045,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81748,
    "c": 0.11144,
    "h": 110.3
  },
  "luminance": 0.55598
}

Semantic roles & 50–950 ramp

primary
#C7CA72
secondary
#4F4D94
accent
#2DB932
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C7CA72

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

Preview Lab → · Contrast checker → · Palette generator →

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