#F0E95A#F0E95A

#F0E95A is a very light, vivid yellow. Relative luminance 0.775; OKLCH L 91.4% C 0.161 H 106.5°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#F0E95A
RGBrgb(240, 233, 90)
HSLhsl(57, 83%, 65%)
HSVhsv(57, 63%, 94%)
CMYKcmyk(0%, 2.9%, 62.5%, 5.9%)
CIE-LABlab(90.57, -14.54, 67.98)
CIE-LCHlch(90.57, 69.52, 102.07°)
OKLaboklab(91.37% -0.0457 0.1543)
OKLCHoklch(91.37% 0.161 106.5)
XYZxyz(66.9219, 77.5435, 21.1131)
Luminance0.7754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E95A #5A61F0
analogous
#F09E5A #F0E95A #ACF05A
triadic
#F0E95A #5AF0E9 #E95AF0
tetradic
#F0E95A #5AF09E #5A61F0 #F05AAC
square
#F0E95A #5AF09E #5A61F0 #F05AAC
split-complementary
#F0E95A #5AACF0 #9E5AF0
monochromatic
#BEB611 #EBE222 #F0E95A #F5F092 #FAF8CA

Accessibility & contrast

On white

1.27
#F0E95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.51
#F0E95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E95A
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E95A#FFFFFF#000000##000000
##F0E95A1.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE148
Deuteranopia (green-blind)
#FFE763
Tritanopia (blue-blind)
#FFDBCB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f0e95a;
/* rgb */ color: rgb(240, 233, 90);
/* oklch */ color: oklch(91.4% 0.161 106.5);
Tailwind
colors: {
  custom: {
    50: '#f8ef8f',
    500: '#f0e95a',
    950: '#000000',
  },
}
SCSS
$custom: #f0e95a;
$custom-light: #f8ef8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e95a",
  "rgb": {
    "r": 240,
    "g": 233,
    "b": 90
  },
  "hsl": {
    "h": 57.2,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91371,
    "c": 0.16095,
    "h": 106.5
  },
  "luminance": 0.77541
}

Semantic roles & 50–950 ramp

primary
#F0E95A
secondary
#3238BD
accent
#10E006
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0E95A

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

Preview Lab → · Contrast checker → · Palette generator →

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