#C7CA46#C7CA46

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

Color values

HEX#C7CA46
RGBrgb(199, 202, 70)
HSLhsl(61, 55%, 53%)
HSVhsv(61, 65%, 79%)
CMYKcmyk(1.5%, 0%, 65.3%, 20.8%)
CIE-LABlab(78.94, -17.29, 62.83)
CIE-LCHlch(78.94, 65.17, 105.39°)
OKLaboklab(81.25% -0.0532 0.1415)
OKLCHoklch(81.25% 0.151 110.6)
XYZxyz(45.7806, 54.8266, 13.9641)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA46 #4946CA
analogous
#CA8B46 #C7CA46 #85CA46
triadic
#C7CA46 #46C7CA #CA46C7
tetradic
#C7CA46 #46CA8B #4946CA #CA4685
square
#C7CA46 #46CA8B #4946CA #CA4685
split-complementary
#C7CA46 #4685CA #8B46CA
monochromatic
#727421 #A1A42F #C7CA46 #D5D876 #E4E5A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CA46#FFFFFF#000000##000000
##C7CA461.001.7611.9711.97
#FFFFFF1.761.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7ca46;
/* rgb */ color: rgb(199, 202, 70);
/* oklch */ color: oklch(81.3% 0.151 110.6);
Tailwind
colors: {
  custom: {
    50: '#dbd980',
    500: '#c7ca46',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca46;
$custom-light: #dbd980;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca46",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 70
  },
  "hsl": {
    "h": 61.364,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.8125,
    "c": 0.1512,
    "h": 110.6
  },
  "luminance": 0.54825
}

Semantic roles & 50–950 ramp

primary
#C7CA46
secondary
#39377D
accent
#49DF4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CA46

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

Preview Lab → · Contrast checker → · Palette generator →

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