#F0E85E#F0E85E

#F0E85E is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 91.2% C 0.157 H 106.0°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#F0E85E
RGBrgb(240, 232, 94)
HSLhsl(57, 83%, 65%)
HSVhsv(57, 61%, 94%)
CMYKcmyk(0%, 3.3%, 60.8%, 5.9%)
CIE-LABlab(90.34, -13.80, 66.10)
CIE-LCHlch(90.34, 67.53, 101.79°)
OKLaboklab(91.2% -0.0432 0.1509)
OKLCHoklch(91.2% 0.157 106)
XYZxyz(66.8145, 77.0489, 21.9399)
Luminance0.7705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E85E #5E66F0
analogous
#F09F5E #F0E85E #AFF05E
triadic
#F0E85E #5EF0E8 #E85EF0
tetradic
#F0E85E #5EF09F #5E66F0 #F05EAF
square
#F0E85E #5EF09F #5E66F0 #F05EAF
split-complementary
#F0E85E #5EAFF0 #9F5EF0
monochromatic
#C2B812 #EBE026 #F0E85E #F5F096 #FAF8CE

Accessibility & contrast

On white

1.28
#F0E85E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.41
#F0E85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E85E
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E85E#FFFFFF#000000##000000
##F0E85E1.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE04E
Deuteranopia (green-blind)
#FEE666
Tritanopia (blue-blind)
#FFDACB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f0e85e;
/* rgb */ color: rgb(240, 232, 94);
/* oklch */ color: oklch(91.2% 0.157 106.0);
Tailwind
colors: {
  custom: {
    50: '#f8ef91',
    500: '#f0e85e',
    950: '#000000',
  },
}
SCSS
$custom: #f0e85e;
$custom-light: #f8ef91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e85e",
  "rgb": {
    "r": 240,
    "g": 232,
    "b": 94
  },
  "hsl": {
    "h": 56.712,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.912,
    "c": 0.15695,
    "h": 106
  },
  "luminance": 0.77047
}

Semantic roles & 50–950 ramp

primary
#F0E85E
secondary
#333ABF
accent
#12DF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0E85E

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

Preview Lab → · Contrast checker → · Palette generator →

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