#F2E485#F2E485

#F2E485 is a very light, moderate yellow. Relative luminance 0.761; OKLCH L 91.0% C 0.117 H 101.0°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#F2E485
RGBrgb(242, 228, 133)
HSLhsl(52, 81%, 74%)
HSVhsv(52, 45%, 95%)
CMYKcmyk(0%, 5.8%, 45%, 5.1%)
CIE-LABlab(89.89, -7.91, 47.88)
CIE-LCHlch(89.89, 48.53, 99.39°)
OKLaboklab(91.01% -0.0224 0.1152)
OKLCHoklch(91.01% 0.117 101)
XYZxyz(68.5967, 76.0597, 33.2533)
Luminance0.7606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E485 #8593F2
analogous
#F2AD85 #F2E485 #C9F285
triadic
#F2E485 #85F2E4 #E485F2
tetradic
#F2E485 #85F2AD #8593F2 #F285C9
square
#F2E485 #85F2AD #8593F2 #F285C9
split-complementary
#F2E485 #85C9F2 #AD85F2
monochromatic
#E4CA18 #ECD84E #F2E485 #F8F0BC #FCF9E3

Accessibility & contrast

On white

1.30
#F2E485 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#F2E485 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E485
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E485#FFFFFF#000000##000000
##F2E4851.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF7D
Deuteranopia (green-blind)
#F8E589
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e485;
/* rgb */ color: rgb(242, 228, 133);
/* oklch */ color: oklch(91.0% 0.117 101.0);
Tailwind
colors: {
  custom: {
    50: '#f8ecaa',
    500: '#f2e485',
    950: '#000000',
  },
}
SCSS
$custom: #f2e485;
$custom-light: #f8ecaa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e485",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 133
  },
  "hsl": {
    "h": 52.294,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91008,
    "c": 0.11736,
    "h": 101
  },
  "luminance": 0.76058
}

Semantic roles & 50–950 ramp

primary
#F2E485
secondary
#4E5ECE
accent
#24DD08
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2E485

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

Preview Lab → · Contrast checker → · Palette generator →

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