#EBF2AF#EBF2AF

#EBF2AF is a very light, moderate yellow. Relative luminance 0.843; OKLCH L 94.0% C 0.086 H 112.9°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#EBF2AF
RGBrgb(235, 242, 175)
HSLhsl(66, 72%, 82%)
HSVhsv(66, 28%, 95%)
CMYKcmyk(2.9%, 0%, 27.7%, 5.1%)
CIE-LABlab(93.56, -12.80, 31.65)
CIE-LCHlch(93.56, 34.14, 112.02°)
OKLaboklab(94% -0.0336 0.0794)
OKLCHoklch(94% 0.086 112.9)
XYZxyz(73.7508, 84.2623, 52.9282)
Luminance0.8426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF2AF #B6AFF2
analogous
#F2D8AF #EBF2AF #CAF2AF
triadic
#EBF2AF #AFEBF2 #F2AFEB
tetradic
#EBF2AF #AFF2D8 #B6AFF2 #F2AFCA
square
#EBF2AF #AFF2D8 #B6AFF2 #F2AFCA
split-complementary
#EBF2AF #AFCAF2 #D8AFF2
monochromatic
#D1E146 #DEE97A #EBF2AF #F8FBE4 #F8FBE5

Accessibility & contrast

On white

1.18
#EBF2AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.85
#EBF2AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF2AF
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF2AF#FFFFFF#000000##000000
##EBF2AF1.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCECAB
Deuteranopia (green-blind)
#FCEDB2
Tritanopia (blue-blind)
#F3EAE0
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ebf2af;
/* rgb */ color: rgb(235, 242, 175);
/* oklch */ color: oklch(94.0% 0.086 112.9);
Tailwind
colors: {
  custom: {
    50: '#f2f6c7',
    500: '#ebf2af',
    950: '#000000',
  },
}
SCSS
$custom: #ebf2af;
$custom-light: #f2f6c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf2af",
  "rgb": {
    "r": 235,
    "g": 242,
    "b": 175
  },
  "hsl": {
    "h": 66.269,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.93998,
    "c": 0.08623,
    "h": 112.9
  },
  "luminance": 0.84262
}

Semantic roles & 50–950 ramp

primary
#EBF2AF
secondary
#7E74D1
accent
#11D426
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #EBF2AF

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

Preview Lab → · Contrast checker → · Palette generator →

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