#C5CE38#C5CE38

#C5CE38 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.9% C 0.165 H 113.0°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#C5CE38
RGBrgb(197, 206, 56)
HSLhsl(64, 60%, 51%)
HSVhsv(64, 73%, 81%)
CMYKcmyk(4.4%, 0%, 72.8%, 19.2%)
CIE-LABlab(79.78, -20.83, 68.74)
CIE-LCHlch(79.78, 71.83, 106.86°)
OKLaboklab(81.86% -0.0643 0.1517)
OKLCHoklch(81.86% 0.165 113)
XYZxyz(45.8125, 56.2995, 12.1942)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CE38 #4138CE
analogous
#CE8C38 #C5CE38 #7ACE38
triadic
#C5CE38 #38C5CE #CE38C5
tetradic
#C5CE38 #38CE8C #4138CE #CE387A
square
#C5CE38 #38CE8C #4138CE #CE387A
split-complementary
#C5CE38 #387ACE #8C38CE
monochromatic
#6B701C #9AA128 #C5CE38 #D3DA69 #E2E69A

Accessibility & contrast

On white

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

On black

12.26
#C5CE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CE38
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CE38#FFFFFF#000000##000000
##C5CE381.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5ce38;
/* rgb */ color: rgb(197, 206, 56);
/* oklch */ color: oklch(81.9% 0.165 113.0);
Tailwind
colors: {
  custom: {
    50: '#dadc79',
    500: '#c5ce38',
    950: '#000000',
  },
}
SCSS
$custom: #c5ce38;
$custom-light: #dadc79;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ce38",
  "rgb": {
    "r": 197,
    "g": 206,
    "b": 56
  },
  "hsl": {
    "h": 63.6,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81858,
    "c": 0.16481,
    "h": 113
  },
  "luminance": 0.56298
}

Semantic roles & 50–950 ramp

primary
#C5CE38
secondary
#353179
accent
#44E44E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CE38

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

Preview Lab → · Contrast checker → · Palette generator →

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