#F0E37A#F0E37A

#F0E37A is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.5% C 0.127 H 102.3°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#F0E37A
RGBrgb(240, 227, 122)
HSLhsl(53, 80%, 71%)
HSVhsv(53, 49%, 94%)
CMYKcmyk(0%, 5.4%, 49.2%, 5.9%)
CIE-LABlab(89.33, -9.21, 52.43)
CIE-LCHlch(89.33, 53.24, 99.96°)
OKLaboklab(90.49% -0.0271 0.1245)
OKLCHoklch(90.49% 0.127 102.3)
XYZxyz(66.9190, 74.8708, 29.3351)
Luminance0.7487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E37A #7A87F0
analogous
#F0A87A #F0E37A #C2F07A
triadic
#F0E37A #7AF0E3 #E37AF0
tetradic
#F0E37A #7AF0A8 #7A87F0 #F07AC2
square
#F0E37A #7AF0A8 #7A87F0 #F07AC2
split-complementary
#F0E37A #7AC2F0 #A87AF0
monochromatic
#D7C218 #EAD743 #F0E37A #F6EFB1 #FCF9E4

Accessibility & contrast

On white

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

On black

15.97
#F0E37A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E37A
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E37A#FFFFFF#000000##000000
##F0E37A1.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD71
Deuteranopia (green-blind)
#F8E37F
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f0e37a;
/* rgb */ color: rgb(240, 227, 122);
/* oklch */ color: oklch(90.5% 0.127 102.3);
Tailwind
colors: {
  custom: {
    50: '#f7eba3',
    500: '#f0e37a',
    950: '#000000',
  },
}
SCSS
$custom: #f0e37a;
$custom-light: #f7eba3;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e37a",
  "rgb": {
    "r": 240,
    "g": 227,
    "b": 122
  },
  "hsl": {
    "h": 53.39,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90485,
    "c": 0.12743,
    "h": 102.3
  },
  "luminance": 0.74869
}

Semantic roles & 50–950 ramp

primary
#F0E37A
secondary
#4453CA
accent
#21DC09
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E37A

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

Preview Lab → · Contrast checker → · Palette generator →

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