#F0E16A#F0E16A

#F0E16A is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.9% C 0.140 H 102.2°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#F0E16A
RGBrgb(240, 225, 106)
HSLhsl(53, 82%, 68%)
HSVhsv(53, 56%, 94%)
CMYKcmyk(0%, 6.3%, 55.8%, 5.9%)
CIE-LABlab(88.65, -9.50, 59.02)
CIE-LCHlch(88.65, 59.78, 99.15°)
OKLaboklab(89.89% -0.0296 0.1373)
OKLCHoklch(89.89% 0.14 102.2)
XYZxyz(65.4641, 73.4187, 24.3557)
Luminance0.7342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E16A #6A79F0
analogous
#F09E6A #F0E16A #BCF06A
triadic
#F0E16A #6AF0E1 #E16AF0
tetradic
#F0E16A #6AF09E #6A79F0 #F06ABC
square
#F0E16A #6AF09E #6A79F0 #F06ABC
split-complementary
#F0E16A #6ABCF0 #9E6AF0
monochromatic
#CBB714 #EAD632 #F0E16A #F6ECA2 #FBF7D9

Accessibility & contrast

On white

1.34
#F0E16A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#F0E16A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E16A
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E16A#FFFFFF#000000##000000
##F0E16A1.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB5E
Deuteranopia (green-blind)
#F8E270
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0e16a;
/* rgb */ color: rgb(240, 225, 106);
/* oklch */ color: oklch(89.9% 0.140 102.2);
Tailwind
colors: {
  custom: {
    50: '#f8ea98',
    500: '#f0e16a',
    950: '#000000',
  },
}
SCSS
$custom: #f0e16a;
$custom-light: #f8ea98;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e16a",
  "rgb": {
    "r": 240,
    "g": 225,
    "b": 106
  },
  "hsl": {
    "h": 53.284,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89886,
    "c": 0.14043,
    "h": 102.2
  },
  "luminance": 0.73416
}

Semantic roles & 50–950 ramp

primary
#F0E16A
secondary
#3647C8
accent
#1FDE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E16A

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

Preview Lab → · Contrast checker → · Palette generator →

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