#F0E36D#F0E36D

#F0E36D is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.3% C 0.140 H 103.0°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#F0E36D
RGBrgb(240, 227, 109)
HSLhsl(54, 81%, 68%)
HSVhsv(54, 55%, 94%)
CMYKcmyk(0%, 5.4%, 54.6%, 5.9%)
CIE-LABlab(89.19, -10.27, 58.29)
CIE-LCHlch(89.19, 59.19, 100.00°)
OKLaboklab(90.33% -0.0315 0.136)
OKLCHoklch(90.33% 0.14 103)
XYZxyz(66.1667, 74.5699, 25.3731)
Luminance0.7457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E36D #6D7AF0
analogous
#F0A16D #F0E36D #BBF06D
triadic
#F0E36D #6DF0E3 #E36DF0
tetradic
#F0E36D #6DF0A1 #6D7AF0 #F06DBB
square
#F0E36D #6DF0A1 #6D7AF0 #F06DBB
split-complementary
#F0E36D #6DBBF0 #A16DF0
monochromatic
#CDBB15 #EAD836 #F0E36D #F6EEA4 #FBF8DC

Accessibility & contrast

On white

1.32
#F0E36D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.91
#F0E36D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E36D
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E36D#FFFFFF#000000##000000
##F0E36D1.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC61
Deuteranopia (green-blind)
#F9E373
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f0e36d;
/* rgb */ color: rgb(240, 227, 109);
/* oklch */ color: oklch(90.3% 0.140 103.0);
Tailwind
colors: {
  custom: {
    50: '#f7eb9a',
    500: '#f0e36d',
    950: '#000000',
  },
}
SCSS
$custom: #f0e36d;
$custom-light: #f7eb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e36d",
  "rgb": {
    "r": 240,
    "g": 227,
    "b": 109
  },
  "hsl": {
    "h": 54.046,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90328,
    "c": 0.13963,
    "h": 103
  },
  "luminance": 0.74568
}

Semantic roles & 50–950 ramp

primary
#F0E36D
secondary
#3947C9
accent
#1DDE08
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E36D

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

Preview Lab → · Contrast checker → · Palette generator →

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