#F2E475#F2E475

#F2E475 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.8% C 0.133 H 102.2°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#F2E475
RGBrgb(242, 228, 117)
HSLhsl(53, 83%, 70%)
HSVhsv(53, 52%, 95%)
CMYKcmyk(0%, 5.8%, 51.7%, 5.1%)
CIE-LABlab(89.70, -9.33, 55.25)
CIE-LCHlch(89.70, 56.03, 99.59°)
OKLaboklab(90.8% -0.0281 0.1302)
OKLCHoklch(90.8% 0.133 102.2)
XYZxyz(67.5743, 75.6507, 27.8687)
Luminance0.7565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E475 #7583F2
analogous
#F2A575 #F2E475 #C1F275
triadic
#F2E475 #75F2E4 #E475F2
tetradic
#F2E475 #75F2A5 #7583F2 #F275C1
square
#F2E475 #75F2A5 #7583F2 #F275C1
split-complementary
#F2E475 #75C1F2 #A575F2
monochromatic
#D8C214 #EDD93D #F2E475 #F7EFAD #FCFAE3

Accessibility & contrast

On white

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

On black

16.13
#F2E475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E475
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E475#FFFFFF#000000##000000
##F2E4751.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6B
Deuteranopia (green-blind)
#FAE47A
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e475;
/* rgb */ color: rgb(242, 228, 117);
/* oklch */ color: oklch(90.8% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#f9ec9f',
    500: '#f2e475',
    950: '#000000',
  },
}
SCSS
$custom: #f2e475;
$custom-light: #f9ec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e475",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 117
  },
  "hsl": {
    "h": 53.28,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90796,
    "c": 0.1332,
    "h": 102.2
  },
  "luminance": 0.75648
}

Semantic roles & 50–950 ramp

primary
#F2E475
secondary
#3F4FCC
accent
#1FDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E475

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

Preview Lab → · Contrast checker → · Palette generator →

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