#C5D238#C5D238

#C5D238 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.7% C 0.169 H 114.4°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#C5D238
RGBrgb(197, 210, 56)
HSLhsl(65, 63%, 52%)
HSVhsv(65, 73%, 82%)
CMYKcmyk(6.2%, 0%, 73.3%, 17.6%)
CIE-LABlab(80.88, -22.78, 69.78)
CIE-LCHlch(80.88, 73.40, 108.08°)
OKLaboklab(82.73% -0.0697 0.1539)
OKLCHoklch(82.73% 0.169 114.4)
XYZxyz(46.7877, 58.2499, 12.5193)
Luminance0.5825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D238 #4538D2
analogous
#D29238 #C5D238 #78D238
triadic
#C5D238 #38C5D2 #D238C5
tetradic
#C5D238 #38D292 #4538D2 #D23878
square
#C5D238 #38D292 #4538D2 #D23878
split-complementary
#C5D238 #3878D2 #9238D2
monochromatic
#6D751A #9CA726 #C5D238 #D4DD6A #E2E99C

Accessibility & contrast

On white

1.66
#C5D238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#C5D238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D238
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D238#FFFFFF#000000##000000
##C5D2381.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C817
Deuteranopia (green-blind)
#E1CA45
Tritanopia (blue-blind)
#D2C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d238;
/* rgb */ color: rgb(197, 210, 56);
/* oklch */ color: oklch(82.7% 0.169 114.4);
Tailwind
colors: {
  custom: {
    50: '#dadf7a',
    500: '#c5d238',
    950: '#000000',
  },
}
SCSS
$custom: #c5d238;
$custom-light: #dadf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d238",
  "rgb": {
    "r": 197,
    "g": 210,
    "b": 56
  },
  "hsl": {
    "h": 65.065,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.82734,
    "c": 0.169,
    "h": 114.4
  },
  "luminance": 0.58249
}

Semantic roles & 50–950 ramp

primary
#C5D238
secondary
#37317E
accent
#42E650
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D238

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

Preview Lab → · Contrast checker → · Palette generator →

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