#C2CE57#C2CE57

#C2CE57 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.9% C 0.143 H 114.4°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#C2CE57
RGBrgb(194, 206, 87)
HSLhsl(66, 55%, 57%)
HSVhsv(66, 58%, 81%)
CMYKcmyk(5.8%, 0%, 57.8%, 19.2%)
CIE-LABlab(79.78, -20.19, 56.50)
CIE-LCHlch(79.78, 59.99, 109.66°)
OKLaboklab(81.88% -0.0593 0.1306)
OKLCHoklch(81.88% 0.143 114.4)
XYZxyz(46.0407, 56.3008, 17.4567)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CE57 #6357CE
analogous
#CE9E57 #C2CE57 #87CE57
triadic
#C2CE57 #57C2CE #CE57C2
tetradic
#C2CE57 #57CE9E #6357CE #CE5787
square
#C2CE57 #57CE9E #6357CE #CE5787
split-complementary
#C2CE57 #5787CE #9E57CE
monochromatic
#7B8427 #A7B334 #C2CE57 #D3DC86 #E4EAB6

Accessibility & contrast

On white

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

On black

12.26
#C2CE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CE57
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CE57#FFFFFF#000000##000000
##C2CE571.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54A
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#CDC3B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2ce57;
/* rgb */ color: rgb(194, 206, 87);
/* oklch */ color: oklch(81.9% 0.143 114.4);
Tailwind
colors: {
  custom: {
    50: '#d7dc8b',
    500: '#c2ce57',
    950: '#000000',
  },
}
SCSS
$custom: #c2ce57;
$custom-light: #d7dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ce57",
  "rgb": {
    "r": 194,
    "g": 206,
    "b": 87
  },
  "hsl": {
    "h": 66.05,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81875,
    "c": 0.1434,
    "h": 114.4
  },
  "luminance": 0.563
}

Semantic roles & 50–950 ramp

primary
#C2CE57
secondary
#463E8B
accent
#4ADE59
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CE57

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

Preview Lab → · Contrast checker → · Palette generator →

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