#F0E95E#F0E95E

#F0E95E is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.4% C 0.158 H 106.4°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#F0E95E
RGBrgb(240, 233, 94)
HSLhsl(57, 83%, 65%)
HSVhsv(57, 61%, 94%)
CMYKcmyk(0%, 2.9%, 60.8%, 5.9%)
CIE-LABlab(90.60, -14.29, 66.38)
CIE-LCHlch(90.60, 67.90, 102.15°)
OKLaboklab(91.41% -0.0446 0.1515)
OKLCHoklch(91.41% 0.158 106.4)
XYZxyz(67.0967, 77.6134, 22.0340)
Luminance0.7761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E95E #5E65F0
analogous
#F0A05E #F0E95E #AEF05E
triadic
#F0E95E #5EF0E9 #E95EF0
tetradic
#F0E95E #5EF0A0 #5E65F0 #F05EAE
square
#F0E95E #5EF0A0 #5E65F0 #F05EAE
split-complementary
#F0E95E #5EAEF0 #A05EF0
monochromatic
#C2B912 #EBE126 #F0E95E #F5F196 #FAF8CE

Accessibility & contrast

On white

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

On black

16.52
#F0E95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E95E
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E95E#FFFFFF#000000##000000
##F0E95E1.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE14D
Deuteranopia (green-blind)
#FFE766
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f0e95e;
/* rgb */ color: rgb(240, 233, 94);
/* oklch */ color: oklch(91.4% 0.158 106.4);
Tailwind
colors: {
  custom: {
    50: '#f8ef91',
    500: '#f0e95e',
    950: '#000000',
  },
}
SCSS
$custom: #f0e95e;
$custom-light: #f8ef91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e95e",
  "rgb": {
    "r": 240,
    "g": 233,
    "b": 94
  },
  "hsl": {
    "h": 57.123,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.91406,
    "c": 0.15791,
    "h": 106.4
  },
  "luminance": 0.77611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0E95E

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

Preview Lab → · Contrast checker → · Palette generator →

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