#DAF25C#DAF25C

#DAF25C is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 91.6% C 0.174 H 117.7°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#DAF25C
RGBrgb(218, 242, 92)
HSLhsl(70, 85%, 65%)
HSVhsv(70, 62%, 95%)
CMYKcmyk(9.9%, 0%, 62%, 5.1%)
CIE-LABlab(91.32, -27.55, 67.48)
CIE-LCHlch(91.32, 72.88, 112.21°)
OKLaboklab(91.57% -0.0809 0.154)
OKLCHoklch(91.57% 0.174 117.7)
XYZxyz(62.5985, 79.1830, 22.1093)
Luminance0.7918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF25C #745CF2
analogous
#F2BF5C #DAF25C #8FF25C
triadic
#DAF25C #5CDAF2 #F25CDA
tetradic
#DAF25C #5CF2BF #745CF2 #F25C8F
square
#DAF25C #5CF2BF #745CF2 #F25C8F
split-complementary
#DAF25C #5C8FF2 #BF5CF2
monochromatic
#A7C410 #CDED23 #DAF25C #E7F795 #F4FBCD

Accessibility & contrast

On white

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

On black

16.84
#DAF25C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF25C
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF25C#FFFFFF#000000##000000
##DAF25C1.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE649
Deuteranopia (green-blind)
#FFE766
Tritanopia (blue-blind)
#E6E5D3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #daf25c;
/* rgb */ color: rgb(218, 242, 92);
/* oklch */ color: oklch(91.6% 0.174 117.7);
Tailwind
colors: {
  custom: {
    50: '#e8f690',
    500: '#daf25c',
    950: '#000000',
  },
}
SCSS
$custom: #daf25c;
$custom-light: #e8f690;
$custom-dark: #000000;
JSON
{
  "hex": "#daf25c",
  "rgb": {
    "r": 218,
    "g": 242,
    "b": 92
  },
  "hsl": {
    "h": 69.6,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.91567,
    "c": 0.17396,
    "h": 117.7
  },
  "luminance": 0.79182
}

Semantic roles & 50–950 ramp

primary
#DAF25C
secondary
#4831C1
accent
#04E227
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #DAF25C

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

Preview Lab → · Contrast checker → · Palette generator →

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