#C4CE38#C4CE38

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

Color values

HEX#C4CE38
RGBrgb(196, 206, 56)
HSLhsl(64, 60%, 51%)
HSVhsv(64, 73%, 81%)
CMYKcmyk(4.9%, 0%, 72.8%, 19.2%)
CIE-LABlab(79.71, -21.25, 68.64)
CIE-LCHlch(79.71, 71.86, 107.20°)
OKLaboklab(81.78% -0.0654 0.1516)
OKLCHoklch(81.78% 0.165 113.3)
XYZxyz(45.5515, 56.1649, 12.1820)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CE38 #4238CE
analogous
#CE8D38 #C4CE38 #79CE38
triadic
#C4CE38 #38C4CE #CE38C4
tetradic
#C4CE38 #38CE8D #4238CE #CE3879
square
#C4CE38 #38CE8D #4238CE #CE3879
split-complementary
#C4CE38 #3879CE #8D38CE
monochromatic
#6A701C #99A128 #C4CE38 #D3DA69 #E1E69A

Accessibility & contrast

On white

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

On black

12.23
#C4CE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CE38
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CE38#FFFFFF#000000##000000
##C4CE381.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4ce38;
/* rgb */ color: rgb(196, 206, 56);
/* oklch */ color: oklch(81.8% 0.165 113.3);
Tailwind
colors: {
  custom: {
    50: '#dadc79',
    500: '#c4ce38',
    950: '#000000',
  },
}
SCSS
$custom: #c4ce38;
$custom-light: #dadc79;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ce38",
  "rgb": {
    "r": 196,
    "g": 206,
    "b": 56
  },
  "hsl": {
    "h": 64,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81778,
    "c": 0.16509,
    "h": 113.3
  },
  "luminance": 0.56164
}

Semantic roles & 50–950 ramp

primary
#C4CE38
secondary
#363179
accent
#44E44F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C4CE38

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

Preview Lab → · Contrast checker → · Palette generator →

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