#F2ED70#F2ED70

#F2ED70 is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.6% C 0.147 H 106.8°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#F2ED70
RGBrgb(242, 237, 112)
HSLhsl(58, 83%, 69%)
HSVhsv(58, 54%, 95%)
CMYKcmyk(0%, 2.1%, 53.7%, 5.1%)
CIE-LABlab(91.96, -14.19, 60.17)
CIE-LCHlch(91.96, 61.82, 103.27°)
OKLaboklab(92.58% -0.0425 0.1404)
OKLCHoklch(92.58% 0.147 106.8)
XYZxyz(69.8287, 80.6175, 27.2085)
Luminance0.8062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED70 #7075F2
analogous
#F2AC70 #F2ED70 #B6F270
triadic
#F2ED70 #70F2ED #ED70F2
tetradic
#F2ED70 #70F2AC #7075F2 #F270B6
square
#F2ED70 #70F2AC #7075F2 #F270B6
split-complementary
#F2ED70 #70B6F2 #AC70F2
monochromatic
#D4CD13 #EDE638 #F2ED70 #F7F4A8 #FCFBE0

Accessibility & contrast

On white

1.23
#F2ED70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#F2ED70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED70
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED70#FFFFFF#000000##000000
##F2ED701.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE564
Deuteranopia (green-blind)
#FFEA77
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ed70;
/* rgb */ color: rgb(242, 237, 112);
/* oklch */ color: oklch(92.6% 0.147 106.8);
Tailwind
colors: {
  custom: {
    50: '#f9f29d',
    500: '#f2ed70',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed70;
$custom-light: #f9f29d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed70",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 112
  },
  "hsl": {
    "h": 57.692,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.92579,
    "c": 0.14664,
    "h": 106.8
  },
  "luminance": 0.80615
}

Semantic roles & 50–950 ramp

primary
#F2ED70
secondary
#3B40CB
accent
#0EE006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2ED70

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

Preview Lab → · Contrast checker → · Palette generator →

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