#C4D938#C4D938

#C4D938 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.2% C 0.177 H 117.0°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#C4D938
RGBrgb(196, 217, 56)
HSLhsl(68, 68%, 54%)
HSVhsv(68, 74%, 85%)
CMYKcmyk(9.7%, 0%, 74.2%, 14.9%)
CIE-LABlab(82.73, -26.56, 71.49)
CIE-LCHlch(82.73, 76.27, 110.38°)
OKLaboklab(84.2% -0.0801 0.1576)
OKLCHoklch(84.2% 0.177 117)
XYZxyz(48.2928, 61.6476, 13.0957)
Luminance0.6165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D938 #4D38D9
analogous
#D99D38 #C4D938 #73D938
triadic
#C4D938 #38C4D9 #D938C4
tetradic
#C4D938 #38D99D #4D38D9 #D93873
square
#C4D938 #38D99D #4D38D9 #D93873
split-complementary
#C4D938 #3873D9 #9D38D9
monochromatic
#717E18 #9FB222 #C4D938 #D3E36B #E2ED9F

Accessibility & contrast

On white

1.58
#C4D938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#C4D938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D938
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D938#FFFFFF#000000##000000
##C4D9381.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4d938;
/* rgb */ color: rgb(196, 217, 56);
/* oklch */ color: oklch(84.2% 0.177 117.0);
Tailwind
colors: {
  custom: {
    50: '#dae47b',
    500: '#c4d938',
    950: '#000000',
  },
}
SCSS
$custom: #c4d938;
$custom-light: #dae47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d938",
  "rgb": {
    "r": 196,
    "g": 217,
    "b": 56
  },
  "hsl": {
    "h": 67.826,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.842,
    "c": 0.1768,
    "h": 117
  },
  "luminance": 0.61647
}

Semantic roles & 50–950 ramp

primary
#C4D938
secondary
#3B3086
accent
#3DEB54
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C4D938

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

Preview Lab → · Contrast checker → · Palette generator →

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