#F2DF77#F2DF77

#F2DF77 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.8% C 0.127 H 99.2°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#F2DF77
RGBrgb(242, 223, 119)
HSLhsl(51, 83%, 71%)
HSVhsv(51, 51%, 95%)
CMYKcmyk(0%, 7.9%, 50.8%, 5.1%)
CIE-LABlab(88.44, -6.66, 52.82)
CIE-LCHlch(88.44, 53.24, 97.19°)
OKLaboklab(89.81% -0.0202 0.1251)
OKLCHoklch(89.81% 0.127 99.2)
XYZxyz(66.3375, 72.9870, 28.0427)
Luminance0.7298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF77 #778AF2
analogous
#F2A177 #F2DF77 #C7F277
triadic
#F2DF77 #77F2DF #DF77F2
tetradic
#F2DF77 #77F2A1 #778AF2 #F277C7
square
#F2DF77 #77F2A1 #778AF2 #F277C7
split-complementary
#F2DF77 #77C7F2 #A177F2
monochromatic
#DABB15 #EDD23F #F2DF77 #F7ECAF #FCF8E3

Accessibility & contrast

On white

1.35
#F2DF77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.60
#F2DF77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF77
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF77#FFFFFF#000000##000000
##F2DF771.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6E
Deuteranopia (green-blind)
#F6E17C
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2df77;
/* rgb */ color: rgb(242, 223, 119);
/* oklch */ color: oklch(89.8% 0.127 99.2);
Tailwind
colors: {
  custom: {
    50: '#f9e8a0',
    500: '#f2df77',
    950: '#000000',
  },
}
SCSS
$custom: #f2df77;
$custom-light: #f9e8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df77",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 119
  },
  "hsl": {
    "h": 50.732,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89808,
    "c": 0.1267,
    "h": 99.2
  },
  "luminance": 0.72985
}

Semantic roles & 50–950 ramp

primary
#F2DF77
secondary
#4157CC
accent
#28DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2DF77

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

Preview Lab → · Contrast checker → · Palette generator →

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