#C2CE2B#C2CE2B

#C2CE2B is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.5% C 0.172 H 114.0°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#C2CE2B
RGBrgb(194, 206, 43)
HSLhsl(64, 65%, 49%)
HSVhsv(64, 79%, 81%)
CMYKcmyk(5.8%, 0%, 79.1%, 19.2%)
CIE-LABlab(79.49, -22.61, 72.36)
CIE-LCHlch(79.49, 75.81, 107.35°)
OKLaboklab(81.55% -0.0701 0.1573)
OKLCHoklch(81.55% 0.172 114)
XYZxyz(44.7569, 55.7873, 10.6953)
Luminance0.5579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CE2B #372BCE
analogous
#CE892B #C2CE2B #71CE2B
triadic
#C2CE2B #2BC2CE #CE2BC2
tetradic
#C2CE2B #2BCE89 #372BCE #CE2B71
square
#C2CE2B #2BCE89 #372BCE #CE2B71
split-complementary
#C2CE2B #2B71CE #892BCE
monochromatic
#636916 #929B20 #C2CE2B #D3DC5A #E0E78C

Accessibility & contrast

On white

1.73
#C2CE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#C2CE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CE2B
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CE2B#FFFFFF#000000##000000
##C2CE2B1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#DDC63B
Tritanopia (blue-blind)
#CFC1B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2ce2b;
/* rgb */ color: rgb(194, 206, 43);
/* oklch */ color: oklch(81.5% 0.172 114.0);
Tailwind
colors: {
  custom: {
    50: '#d8dc73',
    500: '#c2ce2b',
    950: '#000000',
  },
}
SCSS
$custom: #c2ce2b;
$custom-light: #d8dc73;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ce2b",
  "rgb": {
    "r": 194,
    "g": 206,
    "b": 43
  },
  "hsl": {
    "h": 64.417,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81548,
    "c": 0.17222,
    "h": 114
  },
  "luminance": 0.55786
}

Semantic roles & 50–950 ramp

primary
#C2CE2B
secondary
#302B73
accent
#3FE84C
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C2CE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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