#C4CE42#C4CE42

#C4CE42 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.8% C 0.159 H 113.4°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#C4CE42
RGBrgb(196, 206, 66)
HSLhsl(64, 59%, 53%)
HSVhsv(64, 68%, 81%)
CMYKcmyk(4.9%, 0%, 68%, 19.2%)
CIE-LABlab(79.77, -20.74, 65.14)
CIE-LCHlch(79.77, 68.36, 107.66°)
OKLaboklab(81.85% -0.0631 0.1459)
OKLCHoklch(81.85% 0.159 113.4)
XYZxyz(45.8209, 56.2727, 13.6011)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CE42 #4C42CE
analogous
#CE9242 #C4CE42 #7ECE42
triadic
#C4CE42 #42C4CE #CE42C4
tetradic
#C4CE42 #42CE92 #4C42CE #CE427E
square
#C4CE42 #42CE92 #4C42CE #CE427E
split-complementary
#C4CE42 #427ECE #9242CE
monochromatic
#71771F #9FA72B #C4CE42 #D3DB73 #E2E7A3

Accessibility & contrast

On white

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

On black

12.25
#C4CE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CE42
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CE42#FFFFFF#000000##000000
##C4CE421.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC42C
Deuteranopia (green-blind)
#DDC74C
Tritanopia (blue-blind)
#D1C2B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c4ce42;
/* rgb */ color: rgb(196, 206, 66);
/* oklch */ color: oklch(81.8% 0.159 113.4);
Tailwind
colors: {
  custom: {
    50: '#d9dc7e',
    500: '#c4ce42',
    950: '#000000',
  },
}
SCSS
$custom: #c4ce42;
$custom-light: #d9dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ce42",
  "rgb": {
    "r": 196,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 64.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81846,
    "c": 0.15891,
    "h": 113.4
  },
  "luminance": 0.56272
}

Semantic roles & 50–950 ramp

primary
#C4CE42
secondary
#3A357F
accent
#46E251
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C4CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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