#DAF23B#DAF23B

#DAF23B is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 91.3% C 0.195 H 117.1°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#DAF23B
RGBrgb(218, 242, 59)
HSLhsl(68, 88%, 59%)
HSVhsv(68, 76%, 95%)
CMYKcmyk(9.9%, 0%, 75.6%, 5.1%)
CIE-LABlab(91.11, -29.32, 78.92)
CIE-LCHlch(91.11, 84.20, 110.38°)
OKLaboklab(91.33% -0.0887 0.1731)
OKLCHoklch(91.33% 0.195 117.1)
XYZxyz(61.4565, 78.7262, 16.0950)
Luminance0.7873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF23B #533BF2
analogous
#F2AF3B #DAF23B #7FF23B
triadic
#DAF23B #3BDAF2 #F23BDA
tetradic
#DAF23B #3BF2AF #533BF2 #F23B7F
square
#DAF23B #3BF2AF #533BF2 #F23B7F
split-complementary
#DAF23B #3B7FF2 #AF3BF2
monochromatic
#93A70B #C5E10F #DAF23B #E5F674 #F0FAAE

Accessibility & contrast

On white

1.25
#DAF23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#DAF23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF23B
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF23B#FFFFFF#000000##000000
##DAF23B1.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE502
Deuteranopia (green-blind)
#FFE74C
Tritanopia (blue-blind)
#E8E4D0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #daf23b;
/* rgb */ color: rgb(218, 242, 59);
/* oklch */ color: oklch(91.3% 0.195 117.1);
Tailwind
colors: {
  custom: {
    50: '#eaf67f',
    500: '#daf23b',
    950: '#000000',
  },
}
SCSS
$custom: #daf23b;
$custom-light: #eaf67f;
$custom-dark: #000000;
JSON
{
  "hex": "#daf23b",
  "rgb": {
    "r": 218,
    "g": 242,
    "b": 59
  },
  "hsl": {
    "h": 67.869,
    "s": 87.56,
    "l": 59.02
  },
  "oklch": {
    "l": 0.91334,
    "c": 0.19451,
    "h": 117.1
  },
  "luminance": 0.78725
}

Semantic roles & 50–950 ramp

primary
#DAF23B
secondary
#3928A9
accent
#2AFE46
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#17170B
muted
#85857E

Preview Lab

Preview with #DAF23B

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

Preview Lab → · Contrast checker → · Palette generator →

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