#F0EA5D#F0EA5D

#F0EA5D is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.6% C 0.160 H 106.8°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#F0EA5D
RGBrgb(240, 234, 93)
HSLhsl(58, 83%, 65%)
HSVhsv(58, 61%, 94%)
CMYKcmyk(0%, 2.5%, 61.2%, 5.9%)
CIE-LABlab(90.85, -14.85, 67.06)
CIE-LCHlch(90.85, 68.69, 102.48°)
OKLaboklab(91.6% -0.0463 0.1528)
OKLCHoklch(91.6% 0.16 106.8)
XYZxyz(67.3360, 78.1634, 21.8938)
Luminance0.7816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA5D #5D63F0
analogous
#F0A05D #F0EA5D #ACF05D
triadic
#F0EA5D #5DF0EA #EA5DF0
tetradic
#F0EA5D #5DF0A0 #5D63F0 #F05DAC
square
#F0EA5D #5DF0A0 #5D63F0 #F05DAC
split-complementary
#F0EA5D #5DACF0 #A05DF0
monochromatic
#C1BA12 #EBE325 #F0EA5D #F5F195 #FAF9CD

Accessibility & contrast

On white

1.26
#F0EA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#F0EA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EA5D
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EA5D#FFFFFF#000000##000000
##F0EA5D1.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE24C
Deuteranopia (green-blind)
#FFE765
Tritanopia (blue-blind)
#FFDCCC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0ea5d;
/* rgb */ color: rgb(240, 234, 93);
/* oklch */ color: oklch(91.6% 0.160 106.8);
Tailwind
colors: {
  custom: {
    50: '#f8f091',
    500: '#f0ea5d',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea5d;
$custom-light: #f8f091;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea5d",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 93
  },
  "hsl": {
    "h": 57.551,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.91604,
    "c": 0.15964,
    "h": 106.8
  },
  "luminance": 0.78161
}

Semantic roles & 50–950 ramp

primary
#F0EA5D
secondary
#3238BF
accent
#0FDF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0EA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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