#C2C72B#C2C72B

#C2C72B is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.0% C 0.165 H 111.5°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#C2C72B
RGBrgb(194, 199, 43)
HSLhsl(62, 64%, 47%)
HSVhsv(62, 78%, 78%)
CMYKcmyk(2.5%, 0%, 78.4%, 22%)
CIE-LABlab(77.57, -19.17, 70.66)
CIE-LCHlch(77.57, 73.22, 105.18°)
OKLaboklab(80.01% -0.0606 0.1537)
OKLCHoklch(80.01% 0.165 111.5)
XYZxyz(43.1091, 52.4917, 10.1461)
Luminance0.5249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C72B #302BC7
analogous
#C77E2B #C2C72B #74C72B
triadic
#C2C72B #2BC2C7 #C72BC2
tetradic
#C2C72B #2BC77E #302BC7 #C72B74
square
#C2C72B #2BC77E #302BC7 #C72B74
split-complementary
#C2C72B #2B74C7 #7E2BC7
monochromatic
#606215 #919520 #C2C72B #D6DA55 #E2E587

Accessibility & contrast

On white

1.83
#C2C72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#C2C72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C72B
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C72B#FFFFFF#000000##000000
##C2C72B1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D8C139
Tritanopia (blue-blind)
#D0BAAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c72b;
/* rgb */ color: rgb(194, 199, 43);
/* oklch */ color: oklch(80.0% 0.165 111.5);
Tailwind
colors: {
  custom: {
    50: '#d8d773',
    500: '#c2c72b',
    950: '#000000',
  },
}
SCSS
$custom: #c2c72b;
$custom-light: #d8d773;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c72b",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 43
  },
  "hsl": {
    "h": 61.923,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.8001,
    "c": 0.16518,
    "h": 111.5
  },
  "luminance": 0.52491
}

Semantic roles & 50–950 ramp

primary
#C2C72B
secondary
#2B296D
accent
#40E746
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2C72B

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

Preview Lab → · Contrast checker → · Palette generator →

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