#F0EA5E#F0EA5E

#F0EA5E is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.6% C 0.159 H 106.8°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#F0EA5E
RGBrgb(240, 234, 94)
HSLhsl(58, 83%, 65%)
HSVhsv(58, 61%, 94%)
CMYKcmyk(0%, 2.5%, 60.8%, 5.9%)
CIE-LABlab(90.86, -14.78, 66.66)
CIE-LCHlch(90.86, 68.28, 102.51°)
OKLaboklab(91.61% -0.046 0.1521)
OKLCHoklch(91.61% 0.159 106.8)
XYZxyz(67.3806, 78.1812, 22.1286)
Luminance0.7818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA5E #5E64F0
analogous
#F0A15E #F0EA5E #ADF05E
triadic
#F0EA5E #5EF0EA #EA5EF0
tetradic
#F0EA5E #5EF0A1 #5E64F0 #F05EAD
square
#F0EA5E #5EF0A1 #5E64F0 #F05EAD
split-complementary
#F0EA5E #5EADF0 #A15EF0
monochromatic
#C2BA12 #EBE326 #F0EA5E #F5F196 #FAF9CE

Accessibility & contrast

On white

1.26
#F0EA5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#F0EA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EA5E
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EA5E#FFFFFF#000000##000000
##F0EA5E1.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE24D
Deuteranopia (green-blind)
#FFE766
Tritanopia (blue-blind)
#FFDCCC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0ea5e;
/* rgb */ color: rgb(240, 234, 94);
/* oklch */ color: oklch(91.6% 0.159 106.8);
Tailwind
colors: {
  custom: {
    50: '#f8f091',
    500: '#f0ea5e',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea5e;
$custom-light: #f8f091;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea5e",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 94
  },
  "hsl": {
    "h": 57.534,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.91613,
    "c": 0.15888,
    "h": 106.8
  },
  "luminance": 0.78179
}

Semantic roles & 50–950 ramp

primary
#F0EA5E
secondary
#3339BF
accent
#0FDF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0EA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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