#F2E671#F2E671

#F2E671 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.2% C 0.139 H 103.4°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#F2E671
RGBrgb(242, 230, 113)
HSLhsl(54, 83%, 70%)
HSVhsv(54, 53%, 95%)
CMYKcmyk(0%, 5%, 53.3%, 5.1%)
CIE-LABlab(90.17, -10.65, 57.64)
CIE-LCHlch(90.17, 58.62, 100.47°)
OKLaboklab(91.16% -0.0323 0.135)
OKLCHoklch(91.16% 0.139 103.4)
XYZxyz(67.8975, 76.6654, 26.8409)
Luminance0.7666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E671 #717DF2
analogous
#F2A671 #F2E671 #BDF271
triadic
#F2E671 #71F2E6 #E671F2
tetradic
#F2E671 #71F2A6 #717DF2 #F271BD
square
#F2E671 #71F2A6 #717DF2 #F271BD
split-complementary
#F2E671 #71BDF2 #A671F2
monochromatic
#D5C314 #EDDC39 #F2E671 #F7F0A9 #FCFAE1

Accessibility & contrast

On white

1.29
#F2E671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#F2E671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E671
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E671#FFFFFF#000000##000000
##F2E6711.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF66
Deuteranopia (green-blind)
#FCE677
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e671;
/* rgb */ color: rgb(242, 230, 113);
/* oklch */ color: oklch(91.2% 0.139 103.4);
Tailwind
colors: {
  custom: {
    50: '#f9ed9d',
    500: '#f2e671',
    950: '#000000',
  },
}
SCSS
$custom: #f2e671;
$custom-light: #f9ed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e671",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 113
  },
  "hsl": {
    "h": 54.419,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91156,
    "c": 0.13882,
    "h": 103.4
  },
  "luminance": 0.76663
}

Semantic roles & 50–950 ramp

primary
#F2E671
secondary
#3C49CB
accent
#1AE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E671

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

Preview Lab → · Contrast checker → · Palette generator →

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