#DEF267#DEF267

#DEF267 is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.0% C 0.164 H 116.6°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#DEF267
RGBrgb(222, 242, 103)
HSLhsl(69, 84%, 68%)
HSVhsv(69, 57%, 95%)
CMYKcmyk(8.3%, 0%, 57.4%, 5.1%)
CIE-LABlab(91.69, -25.20, 63.39)
CIE-LCHlch(91.69, 68.22, 111.68°)
OKLaboklab(91.97% -0.0734 0.1466)
OKLCHoklch(91.97% 0.164 116.6)
XYZxyz(64.3257, 80.0139, 24.8849)
Luminance0.8001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF267 #7B67F2
analogous
#F2C067 #DEF267 #99F267
triadic
#DEF267 #67DEF2 #F267DE
tetradic
#DEF267 #67F2C0 #7B67F2 #F26799
square
#DEF267 #67F2C0 #7B67F2 #F26799
split-complementary
#DEF267 #6799F2 #C067F2
monochromatic
#B2CD12 #D2ED2F #DEF267 #EAF79F #F6FCD8

Accessibility & contrast

On white

1.24
#DEF267 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#DEF267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF267
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF267#FFFFFF#000000##000000
##DEF2671.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE758
Deuteranopia (green-blind)
#FFE870
Tritanopia (blue-blind)
#EAE6D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def267;
/* rgb */ color: rgb(222, 242, 103);
/* oklch */ color: oklch(92.0% 0.164 116.6);
Tailwind
colors: {
  custom: {
    50: '#ebf697',
    500: '#def267',
    950: '#000000',
  },
}
SCSS
$custom: #def267;
$custom-light: #ebf697;
$custom-dark: #000000;
JSON
{
  "hex": "#def267",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 103
  },
  "hsl": {
    "h": 68.633,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.91967,
    "c": 0.16399,
    "h": 116.6
  },
  "luminance": 0.80013
}

Semantic roles & 50–950 ramp

primary
#DEF267
secondary
#4934C9
accent
#05E124
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF267

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

Preview Lab → · Contrast checker → · Palette generator →

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