#F0E174#F0E174

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

Color values

HEX#F0E174
RGBrgb(240, 225, 116)
HSLhsl(53, 81%, 70%)
HSVhsv(53, 52%, 94%)
CMYKcmyk(0%, 6.3%, 51.7%, 5.9%)
CIE-LABlab(88.75, -8.72, 54.56)
CIE-LCHlch(88.75, 55.25, 99.08°)
OKLaboklab(90% -0.0263 0.1286)
OKLCHoklch(90% 0.131 101.6)
XYZxyz(66.0148, 73.6390, 27.2560)
Luminance0.7364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E174 #7483F0
analogous
#F0A374 #F0E174 #C1F074
triadic
#F0E174 #74F0E1 #E174F0
tetradic
#F0E174 #74F0A3 #7483F0 #F074C1
square
#F0E174 #74F0A3 #7483F0 #F074C1
split-complementary
#F0E174 #74C1F0 #A374F0
monochromatic
#D3BC17 #EAD53D #F0E174 #F6EDAB #FCF9E2

Accessibility & contrast

On white

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

On black

15.73
#F0E174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E174
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E174#FFFFFF#000000##000000
##F0E1741.001.3415.7315.73
#FFFFFF1.341.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.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: #f0e174;
/* rgb */ color: rgb(240, 225, 116);
/* oklch */ color: oklch(90.0% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#f7ea9f',
    500: '#f0e174',
    950: '#000000',
  },
}
SCSS
$custom: #f0e174;
$custom-light: #f7ea9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e174",
  "rgb": {
    "r": 240,
    "g": 225,
    "b": 116
  },
  "hsl": {
    "h": 52.742,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90003,
    "c": 0.1313,
    "h": 101.6
  },
  "luminance": 0.73637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0E174

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

Preview Lab → · Contrast checker → · Palette generator →

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