#C4CE40#C4CE40

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

Color values

HEX#C4CE40
RGBrgb(196, 206, 64)
HSLhsl(64, 59%, 53%)
HSVhsv(64, 69%, 81%)
CMYKcmyk(4.9%, 0%, 68.9%, 19.2%)
CIE-LABlab(79.76, -20.85, 65.87)
CIE-LCHlch(79.76, 69.09, 107.57°)
OKLaboklab(81.83% -0.0636 0.1471)
OKLCHoklch(81.83% 0.16 113.4)
XYZxyz(45.7630, 56.2495, 13.2960)
Luminance0.5625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CE40 #4A40CE
analogous
#CE9140 #C4CE40 #7DCE40
triadic
#C4CE40 #40C4CE #CE40C4
tetradic
#C4CE40 #40CE91 #4A40CE #CE407D
square
#C4CE40 #40CE91 #4A40CE #CE407D
split-complementary
#C4CE40 #407DCE #9140CE
monochromatic
#6F751E #9DA62B #C4CE40 #D3DA71 #E2E7A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4CE40#FFFFFF#000000##000000
##C4CE401.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)
#DDC429
Deuteranopia (green-blind)
#DDC74B
Tritanopia (blue-blind)
#D1C2B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c4ce40;
/* rgb */ color: rgb(196, 206, 64);
/* oklch */ color: oklch(81.8% 0.160 113.4);
Tailwind
colors: {
  custom: {
    50: '#d9dc7d',
    500: '#c4ce40',
    950: '#000000',
  },
}
SCSS
$custom: #c4ce40;
$custom-light: #d9dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ce40",
  "rgb": {
    "r": 196,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 64.225,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81832,
    "c": 0.16022,
    "h": 113.4
  },
  "luminance": 0.56249
}

Semantic roles & 50–950 ramp

primary
#C4CE40
secondary
#39347E
accent
#45E250
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C4CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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