#F0E95D#F0E95D

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

Color values

HEX#F0E95D
RGBrgb(240, 233, 93)
HSLhsl(57, 83%, 65%)
HSVhsv(57, 61%, 94%)
CMYKcmyk(0%, 2.9%, 61.2%, 5.9%)
CIE-LABlab(90.59, -14.36, 66.78)
CIE-LCHlch(90.59, 68.31, 102.13°)
OKLaboklab(91.4% -0.0449 0.1522)
OKLCHoklch(91.4% 0.159 106.4)
XYZxyz(67.0522, 77.5956, 21.7992)
Luminance0.7759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E95D #5D64F0
analogous
#F0A05D #F0E95D #ADF05D
triadic
#F0E95D #5DF0E9 #E95DF0
tetradic
#F0E95D #5DF0A0 #5D64F0 #F05DAD
square
#F0E95D #5DF0A0 #5D64F0 #F05DAD
split-complementary
#F0E95D #5DADF0 #A05DF0
monochromatic
#C1B812 #EBE125 #F0E95D #F5F195 #FAF8CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0E95D#FFFFFF#000000##000000
##F0E95D1.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)
#FBE14C
Deuteranopia (green-blind)
#FFE765
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f0e95d;
/* rgb */ color: rgb(240, 233, 93);
/* oklch */ color: oklch(91.4% 0.159 106.4);
Tailwind
colors: {
  custom: {
    50: '#f8ef91',
    500: '#f0e95d',
    950: '#000000',
  },
}
SCSS
$custom: #f0e95d;
$custom-light: #f8ef91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e95d",
  "rgb": {
    "r": 240,
    "g": 233,
    "b": 93
  },
  "hsl": {
    "h": 57.143,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.91397,
    "c": 0.15868,
    "h": 106.4
  },
  "luminance": 0.77593
}

Semantic roles & 50–950 ramp

primary
#F0E95D
secondary
#3239BF
accent
#10DF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0E95D

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

Preview Lab → · Contrast checker → · Palette generator →

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