#F2E370#F2E370

#F2E370 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.5% C 0.137 H 101.9°. Best body text is #000000 at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#F2E370
RGBrgb(242, 227, 112)
HSLhsl(53, 83%, 69%)
HSVhsv(53, 54%, 95%)
CMYKcmyk(0%, 6.2%, 53.7%, 5.1%)
CIE-LABlab(89.39, -9.24, 57.19)
CIE-LCHlch(89.39, 57.94, 99.17°)
OKLaboklab(90.53% -0.0283 0.1339)
OKLCHoklch(90.53% 0.137 101.9)
XYZxyz(67.0138, 74.9877, 26.2702)
Luminance0.7499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E370 #707FF2
analogous
#F2A270 #F2E370 #C0F270
triadic
#F2E370 #70F2E3 #E370F2
tetradic
#F2E370 #70F2A2 #707FF2 #F270C0
square
#F2E370 #70F2A2 #707FF2 #F270C0
split-complementary
#F2E370 #70C0F2 #A270F2
monochromatic
#D4BE13 #EDD838 #F2E370 #F7EEA8 #FCF9E0

Accessibility & contrast

On white

1.31
#F2E370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.00
#F2E370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E370
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E370#FFFFFF#000000##000000
##F2E3701.001.3116.0016.00
#FFFFFF1.311.0021.0021.00
#00000016.0021.001.001.00
##00000016.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD65
Deuteranopia (green-blind)
#F9E475
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e370;
/* rgb */ color: rgb(242, 227, 112);
/* oklch */ color: oklch(90.5% 0.137 101.9);
Tailwind
colors: {
  custom: {
    50: '#f9eb9c',
    500: '#f2e370',
    950: '#000000',
  },
}
SCSS
$custom: #f2e370;
$custom-light: #f9eb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e370",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 112
  },
  "hsl": {
    "h": 53.077,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90533,
    "c": 0.1369,
    "h": 101.9
  },
  "luminance": 0.74985
}

Semantic roles & 50–950 ramp

primary
#F2E370
secondary
#3B4CCB
accent
#1FE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E370

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

Preview Lab → · Contrast checker → · Palette generator →

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