#C4D338#C4D338

#C4D338 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 82.9% C 0.170 H 115.1°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#C4D338
RGBrgb(196, 211, 56)
HSLhsl(66, 64%, 52%)
HSVhsv(66, 73%, 83%)
CMYKcmyk(7.1%, 0%, 73.5%, 17.3%)
CIE-LABlab(81.08, -23.68, 69.94)
CIE-LCHlch(81.08, 73.84, 108.71°)
OKLaboklab(82.88% -0.0722 0.1543)
OKLCHoklch(82.88% 0.17 115.1)
XYZxyz(46.7743, 58.6106, 12.5896)
Luminance0.5861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D338 #4738D3
analogous
#D39438 #C4D338 #77D338
triadic
#C4D338 #38C4D3 #D338C4
tetradic
#C4D338 #38D394 #4738D3 #D33877
square
#C4D338 #38D394 #4738D3 #D33877
split-complementary
#C4D338 #3877D3 #9438D3
monochromatic
#6D761A #9CA925 #C4D338 #D3DE6A #E2E99C

Accessibility & contrast

On white

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

On black

12.72
#C4D338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D338
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D338#FFFFFF#000000##000000
##C4D3381.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4d338;
/* rgb */ color: rgb(196, 211, 56);
/* oklch */ color: oklch(82.9% 0.170 115.1);
Tailwind
colors: {
  custom: {
    50: '#dae07a',
    500: '#c4d338',
    950: '#000000',
  },
}
SCSS
$custom: #c4d338;
$custom-light: #dae07a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d338",
  "rgb": {
    "r": 196,
    "g": 211,
    "b": 56
  },
  "hsl": {
    "h": 65.806,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82876,
    "c": 0.17035,
    "h": 115.1
  },
  "luminance": 0.5861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4D338

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

Preview Lab → · Contrast checker → · Palette generator →

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