#F2E174#F2E174

#F2E174 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.2% C 0.131 H 100.6°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#F2E174
RGBrgb(242, 225, 116)
HSLhsl(52, 83%, 70%)
HSVhsv(52, 52%, 95%)
CMYKcmyk(0%, 7%, 52.1%, 5.1%)
CIE-LABlab(88.92, -7.92, 54.80)
CIE-LCHlch(88.92, 55.37, 98.22°)
OKLaboklab(90.18% -0.0241 0.1291)
OKLCHoklch(90.18% 0.131 100.6)
XYZxyz(66.6977, 73.9911, 27.2880)
Luminance0.7399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E174 #7485F2
analogous
#F2A274 #F2E174 #C4F274
triadic
#F2E174 #74F2E1 #E174F2
tetradic
#F2E174 #74F2A2 #7485F2 #F274C4
square
#F2E174 #74F2A2 #7485F2 #F274C4
split-complementary
#F2E174 #74C4F2 #A274F2
monochromatic
#D7BD14 #EDD53C #F2E174 #F7EDAC #FCF9E3

Accessibility & contrast

On white

1.33
#F2E174 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.80
#F2E174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E174
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E174#FFFFFF#000000##000000
##F2E1741.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6A
Deuteranopia (green-blind)
#F7E279
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e174;
/* rgb */ color: rgb(242, 225, 116);
/* oklch */ color: oklch(90.2% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#f9ea9f',
    500: '#f2e174',
    950: '#000000',
  },
}
SCSS
$custom: #f2e174;
$custom-light: #f9ea9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e174",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 116
  },
  "hsl": {
    "h": 51.905,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90175,
    "c": 0.13135,
    "h": 100.6
  },
  "luminance": 0.73989
}

Semantic roles & 50–950 ramp

primary
#F2E174
secondary
#3E51CC
accent
#23DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E174

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

Preview Lab → · Contrast checker → · Palette generator →

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