#DAF457#DAF457

#DAF457 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.0% C 0.180 H 118.1°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#DAF457
RGBrgb(218, 244, 87)
HSLhsl(70, 88%, 65%)
HSVhsv(70, 64%, 96%)
CMYKcmyk(10.7%, 0%, 64.3%, 4.3%)
CIE-LABlab(91.82, -28.81, 69.98)
CIE-LCHlch(91.82, 75.68, 112.38°)
OKLaboklab(91.96% -0.0848 0.1586)
OKLCHoklch(91.96% 0.18 118.1)
XYZxyz(62.9856, 80.2955, 21.1954)
Luminance0.8030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF457 #7157F4
analogous
#F4BF57 #DAF457 #8CF457
triadic
#DAF457 #57DAF4 #F457DA
tetradic
#DAF457 #57F4BF #7157F4 #F4578C
square
#DAF457 #57F4BF #7157F4 #F4578C
split-complementary
#DAF457 #578CF4 #BF57F4
monochromatic
#A5C40D #CDF01E #DAF457 #E7F890 #F3FCCA

Accessibility & contrast

On white

1.23
#DAF457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.06
#DAF457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF457
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF457#FFFFFF#000000##000000
##DAF4571.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE742
Deuteranopia (green-blind)
#FFE862
Tritanopia (blue-blind)
#E6E7D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #daf457;
/* rgb */ color: rgb(218, 244, 87);
/* oklch */ color: oklch(92.0% 0.180 118.1);
Tailwind
colors: {
  custom: {
    50: '#e9f78e',
    500: '#daf457',
    950: '#000000',
  },
}
SCSS
$custom: #daf457;
$custom-light: #e9f78e;
$custom-dark: #000000;
JSON
{
  "hex": "#daf457",
  "rgb": {
    "r": 218,
    "g": 244,
    "b": 87
  },
  "hsl": {
    "h": 69.936,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91956,
    "c": 0.1799,
    "h": 118.1
  },
  "luminance": 0.80295
}

Semantic roles & 50–950 ramp

primary
#DAF457
secondary
#462EC1
accent
#01E427
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #DAF457

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

Preview Lab → · Contrast checker → · Palette generator →

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