#F0E25A#F0E25A

#F0E25A is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 89.9% C 0.154 H 103.4°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#F0E25A
RGBrgb(240, 226, 90)
HSLhsl(54, 83%, 65%)
HSVhsv(54, 63%, 94%)
CMYKcmyk(0%, 5.8%, 62.5%, 5.9%)
CIE-LABlab(88.76, -11.09, 66.06)
CIE-LCHlch(88.76, 66.98, 99.53°)
OKLaboklab(89.93% -0.0359 0.1503)
OKLCHoklch(89.93% 0.154 103.4)
XYZxyz(64.9795, 73.6586, 20.4656)
Luminance0.7366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E25A #5A68F0
analogous
#F0975A #F0E25A #B3F05A
triadic
#F0E25A #5AF0E2 #E25AF0
tetradic
#F0E25A #5AF097 #5A68F0 #F05AB3
square
#F0E25A #5AF097 #5A68F0 #F05AB3
split-complementary
#F0E25A #5AB3F0 #975AF0
monochromatic
#BEAE11 #EBD822 #F0E25A #F5EC92 #FAF6CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0E25A#FFFFFF#000000##000000
##F0E25A1.001.3315.7315.73
#FFFFFF1.331.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB4A
Deuteranopia (green-blind)
#F9E262
Tritanopia (blue-blind)
#FFD3C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f0e25a;
/* rgb */ color: rgb(240, 226, 90);
/* oklch */ color: oklch(89.9% 0.154 103.4);
Tailwind
colors: {
  custom: {
    50: '#f8ea8e',
    500: '#f0e25a',
    950: '#000000',
  },
}
SCSS
$custom: #f0e25a;
$custom-light: #f8ea8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e25a",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 90
  },
  "hsl": {
    "h": 54.4,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8993,
    "c": 0.15448,
    "h": 103.4
  },
  "luminance": 0.73656
}

Semantic roles & 50–950 ramp

primary
#F0E25A
secondary
#323FBD
accent
#1AE006
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E25A

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

Preview Lab → · Contrast checker → · Palette generator →

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