#C3CE38#C3CE38

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

Color values

HEX#C3CE38
RGBrgb(195, 206, 56)
HSLhsl(64, 60%, 51%)
HSVhsv(64, 73%, 81%)
CMYKcmyk(5.3%, 0%, 72.8%, 19.2%)
CIE-LABlab(79.63, -21.67, 68.54)
CIE-LCHlch(79.63, 71.89, 107.54°)
OKLaboklab(81.7% -0.0665 0.1514)
OKLCHoklch(81.7% 0.165 113.7)
XYZxyz(45.2921, 56.0312, 12.1698)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3CE38 #4338CE
analogous
#CE8E38 #C3CE38 #78CE38
triadic
#C3CE38 #38C3CE #CE38C3
tetradic
#C3CE38 #38CE8E #4338CE #CE3878
square
#C3CE38 #38CE8E #4338CE #CE3878
split-complementary
#C3CE38 #3878CE #8E38CE
monochromatic
#6A701C #98A128 #C3CE38 #D2DA69 #E1E69A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3CE38#FFFFFF#000000##000000
##C3CE381.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)
#DDC419
Deuteranopia (green-blind)
#DDC744
Tritanopia (blue-blind)
#D0C2B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c3ce38;
/* rgb */ color: rgb(195, 206, 56);
/* oklch */ color: oklch(81.7% 0.165 113.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc79',
    500: '#c3ce38',
    950: '#000000',
  },
}
SCSS
$custom: #c3ce38;
$custom-light: #d9dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ce38",
  "rgb": {
    "r": 195,
    "g": 206,
    "b": 56
  },
  "hsl": {
    "h": 64.4,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81698,
    "c": 0.16536,
    "h": 113.7
  },
  "luminance": 0.5603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C3CE38

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

Preview Lab → · Contrast checker → · Palette generator →

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