#F0E46B#F0E46B

#F0E46B is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.5% C 0.142 H 103.6°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#F0E46B
RGBrgb(240, 228, 107)
HSLhsl(55, 82%, 68%)
HSVhsv(55, 55%, 94%)
CMYKcmyk(0%, 5%, 55.4%, 5.9%)
CIE-LABlab(89.43, -10.92, 59.46)
CIE-LCHlch(89.43, 60.46, 100.41°)
OKLaboklab(90.51% -0.0336 0.1383)
OKLCHoklch(90.51% 0.142 103.6)
XYZxyz(66.3346, 75.0759, 24.9039)
Luminance0.7507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E46B #6B77F0
analogous
#F0A16B #F0E46B #BAF06B
triadic
#F0E46B #6BF0E4 #E46BF0
tetradic
#F0E46B #6BF0A1 #6B77F0 #F06BBA
square
#F0E46B #6BF0A1 #6B77F0 #F06BBA
split-complementary
#F0E46B #6BBAF0 #A16BF0
monochromatic
#CCBB15 #EADA33 #F0E46B #F6EEA3 #FBF8DA

Accessibility & contrast

On white

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

On black

16.01
#F0E46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E46B
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E46B#FFFFFF#000000##000000
##F0E46B1.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD5F
Deuteranopia (green-blind)
#FAE471
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f0e46b;
/* rgb */ color: rgb(240, 228, 107);
/* oklch */ color: oklch(90.5% 0.142 103.6);
Tailwind
colors: {
  custom: {
    50: '#f8ec99',
    500: '#f0e46b',
    950: '#000000',
  },
}
SCSS
$custom: #f0e46b;
$custom-light: #f8ec99;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e46b",
  "rgb": {
    "r": 240,
    "g": 228,
    "b": 107
  },
  "hsl": {
    "h": 54.586,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.9051,
    "c": 0.14235,
    "h": 103.6
  },
  "luminance": 0.75074
}

Semantic roles & 50–950 ramp

primary
#F0E46B
secondary
#3744C8
accent
#1BDE08
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E46B

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

Preview Lab → · Contrast checker → · Palette generator →

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