#C4D138#C4D138

#C4D138 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.4% C 0.168 H 114.4°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#C4D138
RGBrgb(196, 209, 56)
HSLhsl(65, 62%, 52%)
HSVhsv(65, 73%, 82%)
CMYKcmyk(6.2%, 0%, 73.2%, 18%)
CIE-LABlab(80.53, -22.71, 69.42)
CIE-LCHlch(80.53, 73.04, 108.12°)
OKLaboklab(82.44% -0.0695 0.1532)
OKLCHoklch(82.44% 0.168 114.4)
XYZxyz(46.2806, 57.6231, 12.4250)
Luminance0.5762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D138 #4538D1
analogous
#D19238 #C4D138 #78D138
triadic
#C4D138 #38C4D1 #D138C4
tetradic
#C4D138 #38D192 #4538D1 #D13878
square
#C4D138 #38D192 #4538D1 #D13878
split-complementary
#C4D138 #3878D1 #9238D1
monochromatic
#6C741B #9BA626 #C4D138 #D3DC6A #E1E89B

Accessibility & contrast

On white

1.68
#C4D138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#C4D138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D138
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D138#FFFFFF#000000##000000
##C4D1381.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4d138;
/* rgb */ color: rgb(196, 209, 56);
/* oklch */ color: oklch(82.4% 0.168 114.4);
Tailwind
colors: {
  custom: {
    50: '#dade7a',
    500: '#c4d138',
    950: '#000000',
  },
}
SCSS
$custom: #c4d138;
$custom-light: #dade7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d138",
  "rgb": {
    "r": 196,
    "g": 209,
    "b": 56
  },
  "hsl": {
    "h": 65.098,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82436,
    "c": 0.16823,
    "h": 114.4
  },
  "luminance": 0.57622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4D138

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

Preview Lab → · Contrast checker → · Palette generator →

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