#C2C73B#C2C73B

#C2C73B is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.1% C 0.157 H 111.5°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#C2C73B
RGBrgb(194, 199, 59)
HSLhsl(62, 56%, 51%)
HSVhsv(62, 70%, 78%)
CMYKcmyk(2.5%, 0%, 70.4%, 22%)
CIE-LABlab(77.66, -18.49, 65.57)
CIE-LCHlch(77.66, 68.13, 105.75°)
OKLaboklab(80.1% -0.0573 0.1457)
OKLCHoklch(80.1% 0.157 111.5)
XYZxyz(43.4624, 52.6330, 12.0065)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C73B #403BC7
analogous
#C7863B #C2C73B #7CC73B
triadic
#C2C73B #3BC2C7 #C73BC2
tetradic
#C2C73B #3BC786 #403BC7 #C73B7C
square
#C2C73B #3BC786 #403BC7 #C73B7C
split-complementary
#C2C73B #3B7CC7 #863BC7
monochromatic
#67691E #95992C #C2C73B #D1D56B #E0E29A

Accessibility & contrast

On white

1.82
#C2C73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#C2C73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C73B
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C73B#FFFFFF#000000##000000
##C2C73B1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE23
Deuteranopia (green-blind)
#D7C246
Tritanopia (blue-blind)
#CFBBAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c2c73b;
/* rgb */ color: rgb(194, 199, 59);
/* oklch */ color: oklch(80.1% 0.157 111.5);
Tailwind
colors: {
  custom: {
    50: '#d8d77a',
    500: '#c2c73b',
    950: '#000000',
  },
}
SCSS
$custom: #c2c73b;
$custom-light: #d8d77a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c73b",
  "rgb": {
    "r": 194,
    "g": 199,
    "b": 59
  },
  "hsl": {
    "h": 62.143,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.80104,
    "c": 0.15655,
    "h": 111.5
  },
  "luminance": 0.52632
}

Semantic roles & 50–950 ramp

primary
#C2C73B
secondary
#353373
accent
#49DF4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C73B

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

Preview Lab → · Contrast checker → · Palette generator →

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