#C2CE45#C2CE45

#C2CE45 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.7% C 0.157 H 114.2°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#C2CE45
RGBrgb(194, 206, 69)
HSLhsl(65, 58%, 54%)
HSVhsv(65, 67%, 81%)
CMYKcmyk(5.8%, 0%, 66.5%, 19.2%)
CIE-LABlab(79.64, -21.40, 63.82)
CIE-LCHlch(79.64, 67.31, 108.54°)
OKLaboklab(81.71% -0.0645 0.1436)
OKLCHoklch(81.71% 0.157 114.2)
XYZxyz(45.3948, 56.0425, 14.0550)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CE45 #5145CE
analogous
#CE9545 #C2CE45 #7ECE45
triadic
#C2CE45 #45C2CE #CE45C2
tetradic
#C2CE45 #45CE95 #5145CE #CE457E
square
#C2CE45 #45CE95 #5145CE #CE457E
split-complementary
#C2CE45 #457ECE #9545CE
monochromatic
#717920 #9EA92D #C2CE45 #D2DB75 #E2E8A6

Accessibility & contrast

On white

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

On black

12.21
#C2CE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CE45
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CE45#FFFFFF#000000##000000
##C2CE451.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC431
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#CEC2B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2ce45;
/* rgb */ color: rgb(194, 206, 69);
/* oklch */ color: oklch(81.7% 0.157 114.2);
Tailwind
colors: {
  custom: {
    50: '#d8dc80',
    500: '#c2ce45',
    950: '#000000',
  },
}
SCSS
$custom: #c2ce45;
$custom-light: #d8dc80;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ce45",
  "rgb": {
    "r": 194,
    "g": 206,
    "b": 69
  },
  "hsl": {
    "h": 65.255,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81711,
    "c": 0.15742,
    "h": 114.2
  },
  "luminance": 0.56042
}

Semantic roles & 50–950 ramp

primary
#C2CE45
secondary
#3D3681
accent
#46E254
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CE45

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

Preview Lab → · Contrast checker → · Palette generator →

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