#F0E173#F0E173

#F0E173 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.0% C 0.132 H 101.6°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#F0E173
RGBrgb(240, 225, 115)
HSLhsl(53, 81%, 70%)
HSVhsv(53, 52%, 94%)
CMYKcmyk(0%, 6.3%, 52.1%, 5.9%)
CIE-LABlab(88.74, -8.80, 55.01)
CIE-LCHlch(88.74, 55.71, 99.09°)
OKLaboklab(89.99% -0.0266 0.1295)
OKLCHoklch(89.99% 0.132 101.6)
XYZxyz(65.9569, 73.6158, 26.9513)
Luminance0.7361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E173 #7382F0
analogous
#F0A373 #F0E173 #C1F073
triadic
#F0E173 #73F0E1 #E173F0
tetradic
#F0E173 #73F0A3 #7382F0 #F073C1
square
#F0E173 #73F0A3 #7382F0 #F073C1
split-complementary
#F0E173 #73C1F0 #A373F0
monochromatic
#D2BC17 #EAD53C #F0E173 #F6EDAA #FCF9E2

Accessibility & contrast

On white

1.34
#F0E173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.72
#F0E173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E173
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E173#FFFFFF#000000##000000
##F0E1731.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0e173;
/* rgb */ color: rgb(240, 225, 115);
/* oklch */ color: oklch(90.0% 0.132 101.6);
Tailwind
colors: {
  custom: {
    50: '#f7ea9e',
    500: '#f0e173',
    950: '#000000',
  },
}
SCSS
$custom: #f0e173;
$custom-light: #f7ea9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e173",
  "rgb": {
    "r": 240,
    "g": 225,
    "b": 115
  },
  "hsl": {
    "h": 52.8,
    "s": 80.645,
    "l": 69.608
  },
  "oklch": {
    "l": 0.8999,
    "c": 0.13224,
    "h": 101.6
  },
  "luminance": 0.73613
}

Semantic roles & 50–950 ramp

primary
#F0E173
secondary
#3E4FC9
accent
#22DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E173

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

Preview Lab → · Contrast checker → · Palette generator →

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