#C2CE38#C2CE38

#C2CE38 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.6% C 0.166 H 114.1°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#C2CE38
RGBrgb(194, 206, 56)
HSLhsl(65, 60%, 51%)
HSVhsv(65, 73%, 81%)
CMYKcmyk(5.8%, 0%, 72.8%, 19.2%)
CIE-LABlab(79.56, -22.08, 68.44)
CIE-LCHlch(79.56, 71.92, 107.88°)
OKLaboklab(81.62% -0.0676 0.1512)
OKLCHoklch(81.62% 0.166 114.1)
XYZxyz(45.0346, 55.8984, 12.1577)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CE38 #4438CE
analogous
#CE8F38 #C2CE38 #77CE38
triadic
#C2CE38 #38C2CE #CE38C2
tetradic
#C2CE38 #38CE8F #4438CE #CE3877
square
#C2CE38 #38CE8F #4438CE #CE3877
split-complementary
#C2CE38 #3877CE #8F38CE
monochromatic
#69701C #97A128 #C2CE38 #D1DA69 #E0E69A

Accessibility & contrast

On white

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

On black

12.18
#C2CE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CE38
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CE38#FFFFFF#000000##000000
##C2CE381.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC419
Deuteranopia (green-blind)
#DDC744
Tritanopia (blue-blind)
#CFC2B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2ce38;
/* rgb */ color: rgb(194, 206, 56);
/* oklch */ color: oklch(81.6% 0.166 114.1);
Tailwind
colors: {
  custom: {
    50: '#d8dc79',
    500: '#c2ce38',
    950: '#000000',
  },
}
SCSS
$custom: #c2ce38;
$custom-light: #d8dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ce38",
  "rgb": {
    "r": 194,
    "g": 206,
    "b": 56
  },
  "hsl": {
    "h": 64.8,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81619,
    "c": 0.16564,
    "h": 114.1
  },
  "luminance": 0.55897
}

Semantic roles & 50–950 ramp

primary
#C2CE38
secondary
#373179
accent
#44E451
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CE38

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

Preview Lab → · Contrast checker → · Palette generator →

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