#F0F386#F0F386

#F0F386 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 93.9% C 0.132 H 110.1°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#F0F386
RGBrgb(240, 243, 134)
HSLhsl(62, 82%, 74%)
HSVhsv(62, 45%, 95%)
CMYKcmyk(1.2%, 0%, 44.9%, 4.7%)
CIE-LABlab(93.60, -16.02, 51.94)
CIE-LCHlch(93.60, 54.35, 107.14°)
OKLaboklab(93.93% -0.0455 0.1243)
OKLCHoklch(93.93% 0.132 110.1)
XYZxyz(72.2901, 84.3492, 35.0225)
Luminance0.8435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F386 #8986F3
analogous
#F3C086 #F0F386 #BAF386
triadic
#F0F386 #86F0F3 #F386F0
tetradic
#F0F386 #86F3C0 #8986F3 #F386BA
square
#F0F386 #86F3C0 #8986F3 #F386BA
split-complementary
#F0F386 #86BAF3 #C086F3
monochromatic
#E2E817 #E9ED4E #F0F386 #F7F9BE #FCFCE3

Accessibility & contrast

On white

1.18
#F0F386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#F0F386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F386
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F386#FFFFFF#000000##000000
##F0F3861.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7D
Deuteranopia (green-blind)
#FFEE8B
Tritanopia (blue-blind)
#FDE7D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f0f386;
/* rgb */ color: rgb(240, 243, 134);
/* oklch */ color: oklch(93.9% 0.132 110.1);
Tailwind
colors: {
  custom: {
    50: '#f7f6ab',
    500: '#f0f386',
    950: '#000000',
  },
}
SCSS
$custom: #f0f386;
$custom-light: #f7f6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f386",
  "rgb": {
    "r": 240,
    "g": 243,
    "b": 134
  },
  "hsl": {
    "h": 61.651,
    "s": 81.955,
    "l": 73.922
  },
  "oklch": {
    "l": 0.93926,
    "c": 0.13237,
    "h": 110.1
  },
  "luminance": 0.84348
}

Semantic roles & 50–950 ramp

primary
#F0F386
secondary
#524ECF
accent
#07DE0D
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F0F386

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

Preview Lab → · Contrast checker → · Palette generator →

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