#C5D338#C5D338

#C5D338 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.0% C 0.170 H 114.7°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#C5D338
RGBrgb(197, 211, 56)
HSLhsl(65, 64%, 52%)
HSVhsv(65, 73%, 83%)
CMYKcmyk(6.6%, 0%, 73.5%, 17.3%)
CIE-LABlab(81.15, -23.27, 70.04)
CIE-LCHlch(81.15, 73.80, 108.38°)
OKLaboklab(82.95% -0.0711 0.1545)
OKLCHoklch(82.95% 0.17 114.7)
XYZxyz(47.0354, 58.7452, 12.6018)
Luminance0.5874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D338 #4638D3
analogous
#D39338 #C5D338 #78D338
triadic
#C5D338 #38C5D3 #D338C5
tetradic
#C5D338 #38D393 #4638D3 #D33878
square
#C5D338 #38D393 #4638D3 #D33878
split-complementary
#C5D338 #3878D3 #9338D3
monochromatic
#6E761A #9DA925 #C5D338 #D4DE6A #E2E99C

Accessibility & contrast

On white

1.65
#C5D338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#C5D338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D338
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D338#FFFFFF#000000##000000
##C5D3381.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C816
Deuteranopia (green-blind)
#E1CB45
Tritanopia (blue-blind)
#D2C7B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c5d338;
/* rgb */ color: rgb(197, 211, 56);
/* oklch */ color: oklch(83.0% 0.170 114.7);
Tailwind
colors: {
  custom: {
    50: '#dae07a',
    500: '#c5d338',
    950: '#000000',
  },
}
SCSS
$custom: #c5d338;
$custom-light: #dae07a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d338",
  "rgb": {
    "r": 197,
    "g": 211,
    "b": 56
  },
  "hsl": {
    "h": 65.419,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82954,
    "c": 0.17005,
    "h": 114.7
  },
  "luminance": 0.58744
}

Semantic roles & 50–950 ramp

primary
#C5D338
secondary
#38307F
accent
#41E750
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D338

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

Preview Lab → · Contrast checker → · Palette generator →

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