#F2E586#F2E586

#F2E586 is a very light, moderate yellow. Relative luminance 0.766; OKLCH L 91.2% C 0.117 H 101.5°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#F2E586
RGBrgb(242, 229, 134)
HSLhsl(53, 81%, 74%)
HSVhsv(53, 45%, 95%)
CMYKcmyk(0%, 5.4%, 44.6%, 5.1%)
CIE-LABlab(90.16, -8.32, 47.73)
CIE-LCHlch(90.16, 48.45, 99.89°)
OKLaboklab(91.23% -0.0235 0.1149)
OKLCHoklch(91.23% 0.117 101.5)
XYZxyz(68.9420, 76.6392, 33.7109)
Luminance0.7664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E586 #8693F2
analogous
#F2AF86 #F2E586 #C9F286
triadic
#F2E586 #86F2E5 #E586F2
tetradic
#F2E586 #86F2AF #8693F2 #F286C9
square
#F2E586 #86F2AF #8693F2 #F286C9
split-complementary
#F2E586 #86C9F2 #AF86F2
monochromatic
#E5CC19 #ECD94F #F2E586 #F8F1BD #FCF9E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E586#FFFFFF#000000##000000
##F2E5861.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)
#F5DF7E
Deuteranopia (green-blind)
#F9E58A
Tritanopia (blue-blind)
#FFD9CE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e586;
/* rgb */ color: rgb(242, 229, 134);
/* oklch */ color: oklch(91.2% 0.117 101.5);
Tailwind
colors: {
  custom: {
    50: '#f8edab',
    500: '#f2e586',
    950: '#000000',
  },
}
SCSS
$custom: #f2e586;
$custom-light: #f8edab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e586",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 134
  },
  "hsl": {
    "h": 52.778,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91225,
    "c": 0.1173,
    "h": 101.5
  },
  "luminance": 0.76637
}

Semantic roles & 50–950 ramp

primary
#F2E586
secondary
#4E5ECE
accent
#22DD09
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2E586

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

Preview Lab → · Contrast checker → · Palette generator →

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