#DFE138#DFE138

#DFE138 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.1% C 0.177 H 110.2°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#DFE138
RGBrgb(223, 225, 56)
HSLhsl(61, 74%, 55%)
HSVhsv(61, 75%, 88%)
CMYKcmyk(0.9%, 0%, 75.1%, 11.8%)
CIE-LABlab(86.91, -19.31, 76.11)
CIE-LCHlch(86.91, 78.52, 104.24°)
OKLaboklab(88.06% -0.0614 0.1665)
OKLCHoklch(88.06% 0.177 110.2)
XYZxyz(58.0726, 69.8256, 14.1592)
Luminance0.6982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE138 #3A38E1
analogous
#E18E38 #DFE138 #8BE138
triadic
#DFE138 #38DFE1 #E138DF
tetradic
#DFE138 #38E18E #3A38E1 #E1388B
square
#DFE138 #38E18E #3A38E1 #E1388B
split-complementary
#DFE138 #388BE1 #8E38E1
monochromatic
#888A15 #BDBF1D #DFE138 #E8E96D #F0F1A2

Accessibility & contrast

On white

1.40
#DFE138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#DFE138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE138
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE138#FFFFFF#000000##000000
##DFE1381.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D708
Deuteranopia (green-blind)
#F5DC46
Tritanopia (blue-blind)
#EFD3C1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfe138;
/* rgb */ color: rgb(223, 225, 56);
/* oklch */ color: oklch(88.1% 0.177 110.2);
Tailwind
colors: {
  custom: {
    50: '#edea7c',
    500: '#dfe138',
    950: '#000000',
  },
}
SCSS
$custom: #dfe138;
$custom-light: #edea7c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe138",
  "rgb": {
    "r": 223,
    "g": 225,
    "b": 56
  },
  "hsl": {
    "h": 60.71,
    "s": 73.799,
    "l": 55.098
  },
  "oklch": {
    "l": 0.88055,
    "c": 0.17743,
    "h": 110.2
  },
  "luminance": 0.69824
}

Semantic roles & 50–950 ramp

primary
#DFE138
secondary
#2F2E8F
accent
#37F03A
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #DFE138

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

Preview Lab → · Contrast checker → · Palette generator →

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