#DAF261#DAF261

#DAF261 is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 91.6% C 0.170 H 117.8°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#DAF261
RGBrgb(218, 242, 97)
HSLhsl(70, 85%, 66%)
HSVhsv(70, 60%, 95%)
CMYKcmyk(9.9%, 0%, 59.9%, 5.1%)
CIE-LABlab(91.36, -27.20, 65.48)
CIE-LCHlch(91.36, 70.90, 112.56°)
OKLaboklab(91.61% -0.0794 0.1504)
OKLCHoklch(91.61% 0.17 117.8)
XYZxyz(62.8243, 79.2733, 23.2986)
Luminance0.7927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF261 #7961F2
analogous
#F2C261 #DAF261 #92F261
triadic
#DAF261 #61DAF2 #F261DA
tetradic
#DAF261 #61F2C2 #7961F2 #F26192
square
#DAF261 #61F2C2 #7961F2 #F26192
split-complementary
#DAF261 #6192F2 #C261F2
monochromatic
#AAC810 #CDED28 #DAF261 #E7F79A #F4FBD2

Accessibility & contrast

On white

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

On black

16.85
#DAF261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF261
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF261#FFFFFF#000000##000000
##DAF2611.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE650
Deuteranopia (green-blind)
#FEE76B
Tritanopia (blue-blind)
#E6E6D3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #daf261;
/* rgb */ color: rgb(218, 242, 97);
/* oklch */ color: oklch(91.6% 0.170 117.8);
Tailwind
colors: {
  custom: {
    50: '#e8f693',
    500: '#daf261',
    950: '#000000',
  },
}
SCSS
$custom: #daf261;
$custom-light: #e8f693;
$custom-dark: #000000;
JSON
{
  "hex": "#daf261",
  "rgb": {
    "r": 218,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 69.931,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91612,
    "c": 0.17009,
    "h": 117.8
  },
  "luminance": 0.79273
}

Semantic roles & 50–950 ramp

primary
#DAF261
secondary
#4B32C5
accent
#04E129
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170D
muted
#85857F

Preview Lab

Preview with #DAF261

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

Preview Lab → · Contrast checker → · Palette generator →

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