#C7CA3E#C7CA3E

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

Color values

HEX#C7CA3E
RGBrgb(199, 202, 62)
HSLhsl(61, 57%, 52%)
HSVhsv(61, 69%, 79%)
CMYKcmyk(1.5%, 0%, 69.3%, 20.8%)
CIE-LABlab(78.89, -17.73, 65.82)
CIE-LCHlch(78.89, 68.17, 105.08°)
OKLaboklab(81.19% -0.0552 0.1466)
OKLCHoklch(81.19% 0.157 110.6)
XYZxyz(45.5447, 54.7322, 12.7217)
Luminance0.5473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA3E #413ECA
analogous
#CA873E #C7CA3E #81CA3E
triadic
#C7CA3E #3EC7CA #CA3EC7
tetradic
#C7CA3E #3ECA87 #413ECA #CA3E81
square
#C7CA3E #3ECA87 #413ECA #CA3E81
split-complementary
#C7CA3E #3E81CA #873ECA
monochromatic
#6D6F1F #9D9F2C #C7CA3E #D5D76E #E3E49E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CA3E#FFFFFF#000000##000000
##C7CA3E1.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)
#DAC127
Deuteranopia (green-blind)
#DBC548
Tritanopia (blue-blind)
#D5BEAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca3e;
/* rgb */ color: rgb(199, 202, 62);
/* oklch */ color: oklch(81.2% 0.157 110.6);
Tailwind
colors: {
  custom: {
    50: '#dbd97c',
    500: '#c7ca3e',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca3e;
$custom-light: #dbd97c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca3e",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 62
  },
  "hsl": {
    "h": 61.286,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81189,
    "c": 0.1566,
    "h": 110.6
  },
  "luminance": 0.54731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7CA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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