#F0E55D#F0E55D

#F0E55D is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.6% C 0.155 H 104.7°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#F0E55D
RGBrgb(240, 229, 93)
HSLhsl(56, 83%, 65%)
HSVhsv(56, 61%, 94%)
CMYKcmyk(0%, 4.6%, 61.2%, 5.9%)
CIE-LABlab(89.56, -12.39, 65.67)
CIE-LCHlch(89.56, 66.83, 100.68°)
OKLaboklab(90.57% -0.0393 0.1498)
OKLCHoklch(90.57% 0.155 104.7)
XYZxyz(65.9326, 75.3565, 21.4260)
Luminance0.7535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E55D #5D68F0
analogous
#F09B5D #F0E55D #B2F05D
triadic
#F0E55D #5DF0E5 #E55DF0
tetradic
#F0E55D #5DF09B #5D68F0 #F05DB2
square
#F0E55D #5DF09B #5D68F0 #F05DB2
split-complementary
#F0E55D #5DB2F0 #9B5DF0
monochromatic
#C1B412 #EBDC25 #F0E55D #F5EE95 #FAF7CD

Accessibility & contrast

On white

1.31
#F0E55D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#F0E55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E55D
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E55D#FFFFFF#000000##000000
##F0E55D1.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD4D
Deuteranopia (green-blind)
#FCE465
Tritanopia (blue-blind)
#FFD7C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f0e55d;
/* rgb */ color: rgb(240, 229, 93);
/* oklch */ color: oklch(90.6% 0.155 104.7);
Tailwind
colors: {
  custom: {
    50: '#f8ec90',
    500: '#f0e55d',
    950: '#000000',
  },
}
SCSS
$custom: #f0e55d;
$custom-light: #f8ec90;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e55d",
  "rgb": {
    "r": 240,
    "g": 229,
    "b": 93
  },
  "hsl": {
    "h": 55.51,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.90573,
    "c": 0.1549,
    "h": 104.7
  },
  "luminance": 0.75354
}

Semantic roles & 50–950 ramp

primary
#F0E55D
secondary
#323DBF
accent
#16DF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E55D

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

Preview Lab → · Contrast checker → · Palette generator →

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