#F2E183#F2E183

#F2E183 is a very light, moderate yellow. Relative luminance 0.744; OKLCH L 90.4% C 0.117 H 99.3°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#F2E183
RGBrgb(242, 225, 131)
HSLhsl(51, 81%, 73%)
HSVhsv(51, 46%, 95%)
CMYKcmyk(0%, 7%, 45.9%, 5.1%)
CIE-LABlab(89.10, -6.60, 47.87)
CIE-LCHlch(89.10, 48.32, 97.85°)
OKLaboklab(90.37% -0.0188 0.1151)
OKLCHoklch(90.37% 0.117 99.3)
XYZxyz(67.6417, 74.3687, 32.2598)
Luminance0.7437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E183 #8394F2
analogous
#F2A983 #F2E183 #CBF283
triadic
#F2E183 #83F2E1 #E183F2
tetradic
#F2E183 #83F2A9 #8394F2 #F283CB
square
#F2E183 #83F2A9 #8394F2 #F283CB
split-complementary
#F2E183 #83CBF2 #A983F2
monochromatic
#E3C418 #ECD44C #F2E183 #F8EEBA #FCF8E3

Accessibility & contrast

On white

1.32
#F2E183 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.87
#F2E183 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E183
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E183#FFFFFF#000000##000000
##F2E1831.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DC7B
Deuteranopia (green-blind)
#F6E387
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e183;
/* rgb */ color: rgb(242, 225, 131);
/* oklch */ color: oklch(90.4% 0.117 99.3);
Tailwind
colors: {
  custom: {
    50: '#f8eaa9',
    500: '#f2e183',
    950: '#000000',
  },
}
SCSS
$custom: #f2e183;
$custom-light: #f8eaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e183",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 131
  },
  "hsl": {
    "h": 50.811,
    "s": 81.022,
    "l": 73.137
  },
  "oklch": {
    "l": 0.90374,
    "c": 0.11658,
    "h": 99.3
  },
  "luminance": 0.74366
}

Semantic roles & 50–950 ramp

primary
#F2E183
secondary
#4C60CD
accent
#29DD08
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2E183

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

Preview Lab → · Contrast checker → · Palette generator →

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