#C2CE5F#C2CE5F

#C2CE5F is a light, vivid yellow. Relative luminance 0.564; OKLCH L 82.0% C 0.136 H 114.6°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#C2CE5F
RGBrgb(194, 206, 95)
HSLhsl(66, 53%, 59%)
HSVhsv(66, 54%, 81%)
CMYKcmyk(5.8%, 0%, 53.9%, 19.2%)
CIE-LABlab(79.86, -19.54, 52.98)
CIE-LCHlch(79.86, 56.47, 110.25°)
OKLaboklab(81.96% -0.0567 0.1239)
OKLCHoklch(81.96% 0.136 114.6)
XYZxyz(46.3859, 56.4389, 19.2745)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CE5F #6B5FCE
analogous
#CEA25F #C2CE5F #8BCE5F
triadic
#C2CE5F #5FC2CE #CE5FC2
tetradic
#C2CE5F #5FCEA2 #6B5FCE #CE5F8B
square
#C2CE5F #5FCEA2 #6B5FCE #CE5F8B
split-complementary
#C2CE5F #5F8BCE #A25FCE
monochromatic
#7E892A #AAB838 #C2CE5F #D4DC8E #E6EBBD

Accessibility & contrast

On white

1.71
#C2CE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#C2CE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CE5F
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CE5F#FFFFFF#000000##000000
##C2CE5F1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC554
Deuteranopia (green-blind)
#DAC765
Tritanopia (blue-blind)
#CDC4B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2ce5f;
/* rgb */ color: rgb(194, 206, 95);
/* oklch */ color: oklch(82.0% 0.136 114.6);
Tailwind
colors: {
  custom: {
    50: '#d7dc90',
    500: '#c2ce5f',
    950: '#000000',
  },
}
SCSS
$custom: #c2ce5f;
$custom-light: #d7dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ce5f",
  "rgb": {
    "r": 194,
    "g": 206,
    "b": 95
  },
  "hsl": {
    "h": 66.486,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81963,
    "c": 0.13627,
    "h": 114.6
  },
  "luminance": 0.56438
}

Semantic roles & 50–950 ramp

primary
#C2CE5F
secondary
#4A428F
accent
#4BDD5B
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C2CE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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