#EDF166#EDF166

#EDF166 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 92.9% C 0.160 H 110.7°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#EDF166
RGBrgb(237, 241, 102)
HSLhsl(62, 83%, 67%)
HSVhsv(62, 58%, 95%)
CMYKcmyk(1.7%, 0%, 57.7%, 5.5%)
CIE-LABlab(92.52, -18.86, 65.05)
CIE-LCHlch(92.52, 67.73, 106.17°)
OKLaboklab(92.9% -0.0565 0.1498)
OKLCHoklch(92.9% 0.16 110.7)
XYZxyz(68.7805, 81.8761, 24.7483)
Luminance0.8187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF166 #6A66F1
analogous
#F1B066 #EDF166 #A7F166
triadic
#EDF166 #66EDF1 #F166ED
tetradic
#EDF166 #66F1B0 #6A66F1 #F166A7
square
#EDF166 #66F1B0 #6A66F1 #F166A7
split-complementary
#EDF166 #66A7F1 #B066F1
monochromatic
#C5CA12 #E6EC2E #EDF166 #F4F69E #FAFBD6

Accessibility & contrast

On white

1.21
#EDF166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.37
#EDF166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF166
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF166#FFFFFF#000000##000000
##EDF1661.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE756
Deuteranopia (green-blind)
#FFEC6E
Tritanopia (blue-blind)
#FCE3D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #edf166;
/* rgb */ color: rgb(237, 241, 102);
/* oklch */ color: oklch(92.9% 0.160 110.7);
Tailwind
colors: {
  custom: {
    50: '#f6f597',
    500: '#edf166',
    950: '#000000',
  },
}
SCSS
$custom: #edf166;
$custom-light: #f6f597;
$custom-dark: #000000;
JSON
{
  "hex": "#edf166",
  "rgb": {
    "r": 237,
    "g": 241,
    "b": 102
  },
  "hsl": {
    "h": 61.727,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.929,
    "c": 0.16006,
    "h": 110.7
  },
  "luminance": 0.81874
}

Semantic roles & 50–950 ramp

primary
#EDF166
secondary
#3934C7
accent
#06E00C
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EDF166

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

Preview Lab → · Contrast checker → · Palette generator →

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