#C5D938#C5D938

#C5D938 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.3% C 0.176 H 116.6°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#C5D938
RGBrgb(197, 217, 56)
HSLhsl(67, 68%, 54%)
HSVhsv(67, 74%, 85%)
CMYKcmyk(9.2%, 0%, 74.2%, 14.9%)
CIE-LABlab(82.80, -26.15, 71.59)
CIE-LCHlch(82.80, 76.21, 110.07°)
OKLaboklab(84.28% -0.0791 0.1578)
OKLCHoklch(84.28% 0.176 116.6)
XYZxyz(48.5539, 61.7822, 13.1080)
Luminance0.6178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D938 #4C38D9
analogous
#D99C38 #C5D938 #75D938
triadic
#C5D938 #38C5D9 #D938C5
tetradic
#C5D938 #38D99C #4C38D9 #D93875
square
#C5D938 #38D99C #4C38D9 #D93875
split-complementary
#C5D938 #3875D9 #9C38D9
monochromatic
#727E18 #A0B222 #C5D938 #D4E36B #E3ED9F

Accessibility & contrast

On white

1.57
#C5D938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#C5D938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D938
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D938#FFFFFF#000000##000000
##C5D9381.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD12
Deuteranopia (green-blind)
#E6CF46
Tritanopia (blue-blind)
#D1CDBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c5d938;
/* rgb */ color: rgb(197, 217, 56);
/* oklch */ color: oklch(84.3% 0.176 116.6);
Tailwind
colors: {
  custom: {
    50: '#dae47b',
    500: '#c5d938',
    950: '#000000',
  },
}
SCSS
$custom: #c5d938;
$custom-light: #dae47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d938",
  "rgb": {
    "r": 197,
    "g": 217,
    "b": 56
  },
  "hsl": {
    "h": 67.453,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.84275,
    "c": 0.17647,
    "h": 116.6
  },
  "luminance": 0.61782
}

Semantic roles & 50–950 ramp

primary
#C5D938
secondary
#3A3086
accent
#3DEB53
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D938

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

Preview Lab → · Contrast checker → · Palette generator →

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