#F2E274#F2E274

#F2E274 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.4% C 0.132 H 101.1°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#F2E274
RGBrgb(242, 226, 116)
HSLhsl(52, 83%, 70%)
HSVhsv(52, 52%, 95%)
CMYKcmyk(0%, 6.6%, 52.1%, 5.1%)
CIE-LABlab(89.17, -8.42, 55.10)
CIE-LCHlch(89.17, 55.74, 98.68°)
OKLaboklab(90.38% -0.0255 0.1298)
OKLCHoklch(90.38% 0.132 101.1)
XYZxyz(66.9688, 74.5333, 27.3784)
Luminance0.7453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E274 #7484F2
analogous
#F2A374 #F2E274 #C3F274
triadic
#F2E274 #74F2E2 #E274F2
tetradic
#F2E274 #74F2A3 #7484F2 #F274C3
square
#F2E274 #74F2A3 #7484F2 #F274C3
split-complementary
#F2E274 #74C3F2 #A374F2
monochromatic
#D7BF14 #EDD63C #F2E274 #F7EEAC #FCF9E3

Accessibility & contrast

On white

1.32
#F2E274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.91
#F2E274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E274
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E274#FFFFFF#000000##000000
##F2E2741.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6A
Deuteranopia (green-blind)
#F8E379
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e274;
/* rgb */ color: rgb(242, 226, 116);
/* oklch */ color: oklch(90.4% 0.132 101.1);
Tailwind
colors: {
  custom: {
    50: '#f9ea9f',
    500: '#f2e274',
    950: '#000000',
  },
}
SCSS
$custom: #f2e274;
$custom-light: #f9ea9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e274",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 116
  },
  "hsl": {
    "h": 52.381,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90378,
    "c": 0.13227,
    "h": 101.1
  },
  "luminance": 0.74531
}

Semantic roles & 50–950 ramp

primary
#F2E274
secondary
#3E50CC
accent
#22DF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E274

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

Preview Lab → · Contrast checker → · Palette generator →

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