#C7CA3A#C7CA3A

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

Color values

HEX#C7CA3A
RGBrgb(199, 202, 58)
HSLhsl(61, 58%, 51%)
HSVhsv(61, 71%, 79%)
CMYKcmyk(1.5%, 0%, 71.3%, 20.8%)
CIE-LABlab(78.86, -17.93, 67.23)
CIE-LCHlch(78.86, 69.58, 104.93°)
OKLaboklab(81.16% -0.0561 0.1488)
OKLCHoklch(81.16% 0.159 110.7)
XYZxyz(45.4390, 54.6899, 12.1648)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA3A #3D3ACA
analogous
#CA853A #C7CA3A #7FCA3A
triadic
#C7CA3A #3AC7CA #CA3AC7
tetradic
#C7CA3A #3ACA85 #3D3ACA #CA3A7F
square
#C7CA3A #3ACA85 #3D3ACA #CA3A7F
split-complementary
#C7CA3A #3A7FCA #853ACA
monochromatic
#6B6C1D #9A9D2A #C7CA3A #D5D76A #E2E49A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CA3A#FFFFFF#000000##000000
##C7CA3A1.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)
#DAC11F
Deuteranopia (green-blind)
#DBC545
Tritanopia (blue-blind)
#D5BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca3a;
/* rgb */ color: rgb(199, 202, 58);
/* oklch */ color: oklch(81.2% 0.159 110.7);
Tailwind
colors: {
  custom: {
    50: '#dcd97a',
    500: '#c7ca3a',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca3a;
$custom-light: #dcd97a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca3a",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 58
  },
  "hsl": {
    "h": 61.25,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81162,
    "c": 0.15907,
    "h": 110.7
  },
  "luminance": 0.54689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7CA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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