#C2C23E#C2C23E

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

Color values

HEX#C2C23E
RGBrgb(194, 194, 62)
HSLhsl(60, 52%, 50%)
HSVhsv(60, 68%, 76%)
CMYKcmyk(0%, 0%, 68%, 23.9%)
CIE-LABlab(76.32, -15.83, 63.14)
CIE-LCHlch(76.32, 65.09, 104.08°)
OKLaboklab(79.04% -0.0496 0.141)
OKLCHoklch(79.04% 0.15 109.4)
XYZxyz(42.4109, 50.4019, 12.0510)
Luminance0.5040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C23E #3E3EC2
analogous
#C2803E #C2C23E #80C23E
triadic
#C2C23E #3EC2C2 #C23EC2
tetradic
#C2C23E #3EC280 #3E3EC2 #C23E80
square
#C2C23E #3EC280 #3E3EC2 #C23E80
split-complementary
#C2C23E #3E80C2 #803EC2
monochromatic
#666620 #94942F #C2C23E #D1D16D #DFDF9B

Accessibility & contrast

On white

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

On black

11.08
#C2C23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C23E
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C23E#FFFFFF#000000##000000
##C2C23E1.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA29
Deuteranopia (green-blind)
#D3BE47
Tritanopia (blue-blind)
#CFB6A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c2c23e;
/* rgb */ color: rgb(194, 194, 62);
/* oklch */ color: oklch(79.0% 0.150 109.4);
Tailwind
colors: {
  custom: {
    50: '#d8d47b',
    500: '#c2c23e',
    950: '#000000',
  },
}
SCSS
$custom: #c2c23e;
$custom-light: #d8d47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c23e",
  "rgb": {
    "r": 194,
    "g": 194,
    "b": 62
  },
  "hsl": {
    "h": 60,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79038,
    "c": 0.14951,
    "h": 109.4
  },
  "luminance": 0.50401
}

Semantic roles & 50–950 ramp

primary
#C2C23E
secondary
#343470
accent
#4CDB4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2C23E

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

Preview Lab → · Contrast checker → · Palette generator →

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