#C7CA47#C7CA47

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

Color values

HEX#C7CA47
RGBrgb(199, 202, 71)
HSLhsl(61, 55%, 54%)
HSVhsv(61, 65%, 79%)
CMYKcmyk(1.5%, 0%, 64.9%, 20.8%)
CIE-LABlab(78.95, -17.23, 62.44)
CIE-LCHlch(78.95, 64.78, 105.43°)
OKLaboklab(81.26% -0.0529 0.1409)
OKLCHoklch(81.26% 0.15 110.6)
XYZxyz(45.8125, 54.8393, 14.1318)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA47 #4A47CA
analogous
#CA8B47 #C7CA47 #85CA47
triadic
#C7CA47 #47C7CA #CA47C7
tetradic
#C7CA47 #47CA8B #4A47CA #CA4785
square
#C7CA47 #47CA8B #4A47CA #CA4785
split-complementary
#C7CA47 #4785CA #8B47CA
monochromatic
#737522 #A2A42F #C7CA47 #D5D877 #E4E5A6

Accessibility & contrast

On white

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

On black

11.97
#C7CA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA47
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA47#FFFFFF#000000##000000
##C7CA471.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C135
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#D4BEAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca47;
/* rgb */ color: rgb(199, 202, 71);
/* oklch */ color: oklch(81.3% 0.150 110.6);
Tailwind
colors: {
  custom: {
    50: '#dbd981',
    500: '#c7ca47',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca47;
$custom-light: #dbd981;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca47",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 71
  },
  "hsl": {
    "h": 61.374,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81259,
    "c": 0.15048,
    "h": 110.6
  },
  "luminance": 0.54838
}

Semantic roles & 50–950 ramp

primary
#C7CA47
secondary
#39387E
accent
#49DF4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CA47

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

Preview Lab → · Contrast checker → · Palette generator →

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