#DAF07C#DAF07C

#DAF07C is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 91.5% C 0.144 H 118.2°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#DAF07C
RGBrgb(218, 240, 124)
HSLhsl(71, 79%, 71%)
HSVhsv(71, 48%, 94%)
CMYKcmyk(9.2%, 0%, 48.3%, 5.9%)
CIE-LABlab(91.09, -24.01, 53.21)
CIE-LCHlch(91.09, 58.38, 114.28°)
OKLaboklab(91.48% -0.0679 0.1267)
OKLCHoklch(91.48% 0.144 118.2)
XYZxyz(63.7122, 78.6813, 30.8955)
Luminance0.7868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF07C #927CF0
analogous
#F0CC7C #DAF07C #A0F07C
triadic
#DAF07C #7CDAF0 #F07CDA
tetradic
#DAF07C #7CF0CC #927CF0 #F07CA0
square
#DAF07C #7CF0CC #927CF0 #F07CA0
split-complementary
#DAF07C #7CA0F0 #CC7CF0
monochromatic
#B4D919 #CAEA45 #DAF07C #EAF6B3 #F7FCE4

Accessibility & contrast

On white

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

On black

16.74
#DAF07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF07C
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF07C#FFFFFF#000000##000000
##DAF07C1.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE572
Deuteranopia (green-blind)
#FBE682
Tritanopia (blue-blind)
#E4E5D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #daf07c;
/* rgb */ color: rgb(218, 240, 124);
/* oklch */ color: oklch(91.5% 0.144 118.2);
Tailwind
colors: {
  custom: {
    50: '#e7f5a4',
    500: '#daf07c',
    950: '#000000',
  },
}
SCSS
$custom: #daf07c;
$custom-light: #e7f5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#daf07c",
  "rgb": {
    "r": 218,
    "g": 240,
    "b": 124
  },
  "hsl": {
    "h": 71.379,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91484,
    "c": 0.14372,
    "h": 118.2
  },
  "luminance": 0.78681
}

Semantic roles & 50–950 ramp

primary
#DAF07C
secondary
#5F46CA
accent
#0ADC32
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF07C

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

Preview Lab → · Contrast checker → · Palette generator →

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