#C7CA40#C7CA40

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

Color values

HEX#C7CA40
RGBrgb(199, 202, 64)
HSLhsl(61, 57%, 52%)
HSVhsv(61, 68%, 79%)
CMYKcmyk(1.5%, 0%, 68.3%, 20.8%)
CIE-LABlab(78.90, -17.63, 65.10)
CIE-LCHlch(78.90, 67.44, 105.15°)
OKLaboklab(81.2% -0.0547 0.1454)
OKLCHoklch(81.2% 0.155 110.6)
XYZxyz(45.6006, 54.7546, 13.0161)
Luminance0.5475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA40 #4340CA
analogous
#CA8840 #C7CA40 #82CA40
triadic
#C7CA40 #40C7CA #CA40C7
tetradic
#C7CA40 #40CA88 #4340CA #CA4082
square
#C7CA40 #40CA88 #4340CA #CA4082
split-complementary
#C7CA40 #4082CA #8840CA
monochromatic
#6F701F #9EA02C #C7CA40 #D5D770 #E3E5A0

Accessibility & contrast

On white

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

On black

11.95
#C7CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA40
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA40#FFFFFF#000000##000000
##C7CA401.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7ca40;
/* rgb */ color: rgb(199, 202, 64);
/* oklch */ color: oklch(81.2% 0.155 110.6);
Tailwind
colors: {
  custom: {
    50: '#dbd97d',
    500: '#c7ca40',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca40;
$custom-light: #dbd97d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca40",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 61.304,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81204,
    "c": 0.15531,
    "h": 110.6
  },
  "luminance": 0.54753
}

Semantic roles & 50–950 ramp

primary
#C7CA40
secondary
#36357A
accent
#48E04B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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