#C2CE4F#C2CE4F

#C2CE4F is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.8% C 0.150 H 114.3°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#C2CE4F
RGBrgb(194, 206, 79)
HSLhsl(66, 56%, 56%)
HSVhsv(66, 62%, 81%)
CMYKcmyk(5.8%, 0%, 61.7%, 19.2%)
CIE-LABlab(79.71, -20.76, 59.86)
CIE-LCHlch(79.71, 63.36, 109.13°)
OKLaboklab(81.8% -0.0617 0.1367)
OKLCHoklch(81.8% 0.15 114.3)
XYZxyz(45.7318, 56.1772, 15.8298)
Luminance0.5618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CE4F #5B4FCE
analogous
#CE9A4F #C2CE4F #82CE4F
triadic
#C2CE4F #4FC2CE #CE4FC2
tetradic
#C2CE4F #4FCE9A #5B4FCE #CE4F82
square
#C2CE4F #4FCE9A #5B4FCE #CE4F82
split-complementary
#C2CE4F #4F82CE #9A4FCE
monochromatic
#777F23 #A3AF31 #C2CE4F #D3DB7F #E3E9AF

Accessibility & contrast

On white

1.72
#C2CE4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#C2CE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CE4F
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CE4F#FFFFFF#000000##000000
##C2CE4F1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43F
Deuteranopia (green-blind)
#DBC757
Tritanopia (blue-blind)
#CEC3B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2ce4f;
/* rgb */ color: rgb(194, 206, 79);
/* oklch */ color: oklch(81.8% 0.150 114.3);
Tailwind
colors: {
  custom: {
    50: '#d7dc86',
    500: '#c2ce4f',
    950: '#000000',
  },
}
SCSS
$custom: #c2ce4f;
$custom-light: #d7dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ce4f",
  "rgb": {
    "r": 194,
    "g": 206,
    "b": 79
  },
  "hsl": {
    "h": 65.669,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81797,
    "c": 0.15,
    "h": 114.3
  },
  "luminance": 0.56176
}

Semantic roles & 50–950 ramp

primary
#C2CE4F
secondary
#423A87
accent
#48E056
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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