#C5D138#C5D138

#C5D138 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.5% C 0.168 H 114.0°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#C5D138
RGBrgb(197, 209, 56)
HSLhsl(65, 62%, 52%)
HSVhsv(65, 73%, 82%)
CMYKcmyk(5.7%, 0%, 73.2%, 18%)
CIE-LABlab(80.60, -22.30, 69.52)
CIE-LCHlch(80.60, 73.01, 107.78°)
OKLaboklab(82.52% -0.0684 0.1534)
OKLCHoklch(82.52% 0.168 114)
XYZxyz(46.5416, 57.7577, 12.4372)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D138 #4438D1
analogous
#D19138 #C5D138 #79D138
triadic
#C5D138 #38C5D1 #D138C5
tetradic
#C5D138 #38D191 #4438D1 #D13879
square
#C5D138 #38D191 #4438D1 #D13879
split-complementary
#C5D138 #3879D1 #9138D1
monochromatic
#6D741B #9CA626 #C5D138 #D3DC6A #E2E89B

Accessibility & contrast

On white

1.67
#C5D138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#C5D138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D138
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D138#FFFFFF#000000##000000
##C5D1381.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C717
Deuteranopia (green-blind)
#E0C945
Tritanopia (blue-blind)
#D2C5B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c5d138;
/* rgb */ color: rgb(197, 209, 56);
/* oklch */ color: oklch(82.5% 0.168 114.0);
Tailwind
colors: {
  custom: {
    50: '#dade7a',
    500: '#c5d138',
    950: '#000000',
  },
}
SCSS
$custom: #c5d138;
$custom-light: #dade7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d138",
  "rgb": {
    "r": 197,
    "g": 209,
    "b": 56
  },
  "hsl": {
    "h": 64.706,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82515,
    "c": 0.16795,
    "h": 114
  },
  "luminance": 0.57757
}

Semantic roles & 50–950 ramp

primary
#C5D138
secondary
#37317C
accent
#42E64F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D138

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

Preview Lab → · Contrast checker → · Palette generator →

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