#F2E075#F2E075

#F2E075 is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 90.0% C 0.130 H 99.9°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#F2E075
RGBrgb(242, 224, 117)
HSLhsl(51, 83%, 70%)
HSVhsv(51, 52%, 95%)
CMYKcmyk(0%, 7.4%, 51.7%, 5.1%)
CIE-LABlab(88.67, -7.33, 54.04)
CIE-LCHlch(88.67, 54.54, 97.73°)
OKLaboklab(89.99% -0.0223 0.1276)
OKLCHoklch(89.99% 0.13 99.9)
XYZxyz(66.4866, 73.4754, 27.5061)
Luminance0.7347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E075 #7587F2
analogous
#F2A175 #F2E075 #C5F275
triadic
#F2E075 #75F2E0 #E075F2
tetradic
#F2E075 #75F2A1 #7587F2 #F275C5
square
#F2E075 #75F2A1 #7587F2 #F275C5
split-complementary
#F2E075 #75C5F2 #A175F2
monochromatic
#D8BC14 #EDD33D #F2E075 #F7EDAD #FCF9E3

Accessibility & contrast

On white

1.34
#F2E075 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#F2E075 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E075
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E075#FFFFFF#000000##000000
##F2E0751.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB6B
Deuteranopia (green-blind)
#F7E27A
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e075;
/* rgb */ color: rgb(242, 224, 117);
/* oklch */ color: oklch(90.0% 0.130 99.9);
Tailwind
colors: {
  custom: {
    50: '#f9e99f',
    500: '#f2e075',
    950: '#000000',
  },
}
SCSS
$custom: #f2e075;
$custom-light: #f9e99f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e075",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 117
  },
  "hsl": {
    "h": 51.36,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89985,
    "c": 0.12951,
    "h": 99.9
  },
  "luminance": 0.73473
}

Semantic roles & 50–950 ramp

primary
#F2E075
secondary
#3F54CC
accent
#26DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E075

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

Preview Lab → · Contrast checker → · Palette generator →

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