#F0E25F#F0E25F

#F0E25F is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.0% C 0.151 H 103.2°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#F0E25F
RGBrgb(240, 226, 95)
HSLhsl(54, 83%, 66%)
HSVhsv(54, 60%, 94%)
CMYKcmyk(0%, 5.8%, 60.4%, 5.9%)
CIE-LABlab(88.80, -10.77, 64.01)
CIE-LCHlch(88.80, 64.91, 99.55°)
OKLaboklab(89.98% -0.0344 0.1466)
OKLCHoklch(89.98% 0.151 103.2)
XYZxyz(65.1995, 73.7466, 21.6244)
Luminance0.7374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E25F #5F6DF0
analogous
#F0995F #F0E25F #B5F05F
triadic
#F0E25F #5FF0E2 #E25FF0
tetradic
#F0E25F #5FF099 #5F6DF0 #F05FB5
square
#F0E25F #5FF099 #5F6DF0 #F05FB5
split-complementary
#F0E25F #5FB5F0 #995FF0
monochromatic
#C2B112 #EBD827 #F0E25F #F5EC97 #FAF6CF

Accessibility & contrast

On white

1.33
#F0E25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#F0E25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E25F
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E25F#FFFFFF#000000##000000
##F0E25F1.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB50
Deuteranopia (green-blind)
#F9E266
Tritanopia (blue-blind)
#FFD4C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f0e25f;
/* rgb */ color: rgb(240, 226, 95);
/* oklch */ color: oklch(90.0% 0.151 103.2);
Tailwind
colors: {
  custom: {
    50: '#f8ea91',
    500: '#f0e25f',
    950: '#000000',
  },
}
SCSS
$custom: #f0e25f;
$custom-light: #f8ea91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e25f",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 95
  },
  "hsl": {
    "h": 54.207,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.89977,
    "c": 0.15057,
    "h": 103.2
  },
  "luminance": 0.73744
}

Semantic roles & 50–950 ramp

primary
#F0E25F
secondary
#3341C0
accent
#1BDF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E25F

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

Preview Lab → · Contrast checker → · Palette generator →

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