#D3E138#D3E138

#D3E138 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.1% C 0.180 H 114.4°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#D3E138
RGBrgb(211, 225, 56)
HSLhsl(65, 74%, 55%)
HSVhsv(65, 75%, 88%)
CMYKcmyk(6.2%, 0%, 75.1%, 11.8%)
CIE-LABlab(86.00, -24.25, 74.94)
CIE-LCHlch(86.00, 78.76, 107.93°)
OKLaboklab(87.1% -0.0745 0.1644)
OKLCHoklch(87.1% 0.181 114.4)
XYZxyz(54.5046, 67.9859, 13.9920)
Luminance0.6798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3E138 #4638E1
analogous
#E19A38 #D3E138 #7FE138
triadic
#D3E138 #38D3E1 #E138D3
tetradic
#D3E138 #38E19A #4638E1 #E1387F
square
#D3E138 #38E19A #4638E1 #E1387F
split-complementary
#D3E138 #387FE1 #9A38E1
monochromatic
#808A15 #B2BF1D #D3E138 #DFE96D #EBF1A2

Accessibility & contrast

On white

1.44
#D3E138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#D3E138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3E138
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3E138#FFFFFF#000000##000000
##D3E1381.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D609
Deuteranopia (green-blind)
#F1D947
Tritanopia (blue-blind)
#E1D4C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d3e138;
/* rgb */ color: rgb(211, 225, 56);
/* oklch */ color: oklch(87.1% 0.180 114.4);
Tailwind
colors: {
  custom: {
    50: '#e4ea7c',
    500: '#d3e138',
    950: '#000000',
  },
}
SCSS
$custom: #d3e138;
$custom-light: #e4ea7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3e138",
  "rgb": {
    "r": 211,
    "g": 225,
    "b": 56
  },
  "hsl": {
    "h": 64.97,
    "s": 73.799,
    "l": 55.098
  },
  "oklch": {
    "l": 0.871,
    "c": 0.1805,
    "h": 114.4
  },
  "luminance": 0.67985
}

Semantic roles & 50–950 ramp

primary
#D3E138
secondary
#362E8F
accent
#37F047
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160A
muted
#85847D

Preview Lab

Preview with #D3E138

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

Preview Lab → · Contrast checker → · Palette generator →

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