#C2C23A#C2C23A

#C2C23A is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.0% C 0.152 H 109.4°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#C2C23A
RGBrgb(194, 194, 58)
HSLhsl(60, 54%, 49%)
HSVhsv(60, 70%, 76%)
CMYKcmyk(0%, 0%, 70.1%, 23.9%)
CIE-LABlab(76.29, -16.04, 64.60)
CIE-LCHlch(76.29, 66.56, 103.95°)
OKLaboklab(79.01% -0.0506 0.1434)
OKLCHoklch(79.01% 0.152 109.4)
XYZxyz(42.3051, 50.3596, 11.4941)
Luminance0.5036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C23A #3A3AC2
analogous
#C27E3A #C2C23A #7EC23A
triadic
#C2C23A #3AC2C2 #C23AC2
tetradic
#C2C23A #3AC27E #3A3AC2 #C23A7E
square
#C2C23A #3AC27E #3A3AC2 #C23A7E
split-complementary
#C2C23A #3A7EC2 #7E3AC2
monochromatic
#64641E #93932C #C2C23A #D2D267 #E0E097

Accessibility & contrast

On white

1.90
#C2C23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#C2C23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C23A
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C23A#FFFFFF#000000##000000
##C2C23A1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA23
Deuteranopia (green-blind)
#D3BE44
Tritanopia (blue-blind)
#D0B6A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c23a;
/* rgb */ color: rgb(194, 194, 58);
/* oklch */ color: oklch(79.0% 0.152 109.4);
Tailwind
colors: {
  custom: {
    50: '#d8d479',
    500: '#c2c23a',
    950: '#000000',
  },
}
SCSS
$custom: #c2c23a;
$custom-light: #d8d479;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c23a",
  "rgb": {
    "r": 194,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 60,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79009,
    "c": 0.1521,
    "h": 109.4
  },
  "luminance": 0.50358
}

Semantic roles & 50–950 ramp

primary
#C2C23A
secondary
#32326E
accent
#4ADD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C23A

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

Preview Lab → · Contrast checker → · Palette generator →

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