#C7CA3B#C7CA3B

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

Color values

HEX#C7CA3B
RGBrgb(199, 202, 59)
HSLhsl(61, 57%, 51%)
HSVhsv(61, 71%, 79%)
CMYKcmyk(1.5%, 0%, 70.8%, 20.8%)
CIE-LABlab(78.87, -17.88, 66.88)
CIE-LCHlch(78.87, 69.23, 104.97°)
OKLaboklab(81.17% -0.0559 0.1483)
OKLCHoklch(81.17% 0.158 110.7)
XYZxyz(45.4647, 54.7002, 12.3001)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA3B #3E3BCA
analogous
#CA853B #C7CA3B #7FCA3B
triadic
#C7CA3B #3BC7CA #CA3BC7
tetradic
#C7CA3B #3BCA85 #3E3BCA #CA3B7F
square
#C7CA3B #3BCA85 #3E3BCA #CA3B7F
split-complementary
#C7CA3B #3B7FCA #853BCA
monochromatic
#6B6D1E #9B9D2B #C7CA3B #D5D76B #E3E49B

Accessibility & contrast

On white

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

On black

11.94
#C7CA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA3B
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA3B#FFFFFF#000000##000000
##C7CA3B1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC121
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#D5BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca3b;
/* rgb */ color: rgb(199, 202, 59);
/* oklch */ color: oklch(81.2% 0.158 110.7);
Tailwind
colors: {
  custom: {
    50: '#dcd97a',
    500: '#c7ca3b',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca3b;
$custom-light: #dcd97a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca3b",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 59
  },
  "hsl": {
    "h": 61.259,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81169,
    "c": 0.15846,
    "h": 110.7
  },
  "luminance": 0.54699
}

Semantic roles & 50–950 ramp

primary
#C7CA3B
secondary
#343377
accent
#47E14A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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