#C4D838#C4D838

#C4D838 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.0% C 0.176 H 116.7°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#C4D838
RGBrgb(196, 216, 56)
HSLhsl(68, 67%, 53%)
HSVhsv(68, 74%, 85%)
CMYKcmyk(9.3%, 0%, 74.1%, 15.3%)
CIE-LABlab(82.45, -26.08, 71.23)
CIE-LCHlch(82.45, 75.86, 110.11°)
OKLaboklab(83.98% -0.0788 0.1571)
OKLCHoklch(83.98% 0.176 116.7)
XYZxyz(48.0359, 61.1337, 13.0101)
Luminance0.6113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D838 #4C38D8
analogous
#D89C38 #C4D838 #74D838
triadic
#C4D838 #38C4D8 #D838C4
tetradic
#C4D838 #38D89C #4C38D8 #D83874
square
#C4D838 #38D89C #4C38D8 #D83874
split-complementary
#C4D838 #3874D8 #9C38D8
monochromatic
#717D19 #9FB023 #C4D838 #D3E26B #E2EC9E

Accessibility & contrast

On white

1.59
#C4D838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#C4D838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D838
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D838#FFFFFF#000000##000000
##C4D8381.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CC13
Deuteranopia (green-blind)
#E5CE46
Tritanopia (blue-blind)
#D0CCBA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c4d838;
/* rgb */ color: rgb(196, 216, 56);
/* oklch */ color: oklch(84.0% 0.176 116.7);
Tailwind
colors: {
  custom: {
    50: '#dae37a',
    500: '#c4d838',
    950: '#000000',
  },
}
SCSS
$custom: #c4d838;
$custom-light: #dae37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d838",
  "rgb": {
    "r": 196,
    "g": 216,
    "b": 56
  },
  "hsl": {
    "h": 67.5,
    "s": 67.227,
    "l": 53.333
  },
  "oklch": {
    "l": 0.83979,
    "c": 0.17572,
    "h": 116.7
  },
  "luminance": 0.61133
}

Semantic roles & 50–950 ramp

primary
#C4D838
secondary
#3A3084
accent
#3EEA53
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C4D838

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

Preview Lab → · Contrast checker → · Palette generator →

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