#C7CA33#C7CA33

#C7CA33 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.1% C 0.163 H 110.7°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#C7CA33
RGBrgb(199, 202, 51)
HSLhsl(61, 60%, 50%)
HSVhsv(61, 75%, 79%)
CMYKcmyk(1.5%, 0%, 74.8%, 20.8%)
CIE-LABlab(78.82, -18.24, 69.53)
CIE-LCHlch(78.82, 71.88, 104.70°)
OKLaboklab(81.12% -0.0576 0.1525)
OKLCHoklch(81.12% 0.163 110.7)
XYZxyz(45.2729, 54.6234, 11.2899)
Luminance0.5462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA33 #3633CA
analogous
#CA8233 #C7CA33 #7CCA33
triadic
#C7CA33 #33C7CA #CA33C7
tetradic
#C7CA33 #33CA82 #3633CA #CA337C
square
#C7CA33 #33CA82 #3633CA #CA337C
split-complementary
#C7CA33 #337CCA #8233CA
monochromatic
#67681A #979927 #C7CA33 #D5D863 #E2E494

Accessibility & contrast

On white

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

On black

11.92
#C7CA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA33
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA33#FFFFFF#000000##000000
##C7CA331.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7ca33;
/* rgb */ color: rgb(199, 202, 51);
/* oklch */ color: oklch(81.1% 0.163 110.7);
Tailwind
colors: {
  custom: {
    50: '#dcd977',
    500: '#c7ca33',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca33;
$custom-light: #dcd977;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca33",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 51
  },
  "hsl": {
    "h": 61.192,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.81119,
    "c": 0.163,
    "h": 110.7
  },
  "luminance": 0.54622
}

Semantic roles & 50–950 ramp

primary
#C7CA33
secondary
#302F72
accent
#45E348
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7CA33

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

Preview Lab → · Contrast checker → · Palette generator →

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