#F0EB59#F0EB59

#F0EB59 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 91.8% C 0.164 H 107.3°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#F0EB59
RGBrgb(240, 235, 89)
HSLhsl(58, 83%, 65%)
HSVhsv(58, 63%, 94%)
CMYKcmyk(0%, 2.1%, 62.9%, 5.9%)
CIE-LABlab(91.08, -15.58, 68.92)
CIE-LCHlch(91.08, 70.66, 102.74°)
OKLaboklab(91.78% -0.0488 0.1562)
OKLCHoklch(91.78% 0.164 107.3)
XYZxyz(67.4490, 78.6653, 21.0802)
Luminance0.7866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EB59 #595EF0
analogous
#F09F59 #F0EB59 #AAF059
triadic
#F0EB59 #59F0EB #EB59F0
tetradic
#F0EB59 #59F09F #595EF0 #F059AA
square
#F0EB59 #59F09F #595EF0 #F059AA
split-complementary
#F0EB59 #59AAF0 #9F59F0
monochromatic
#BDB811 #EBE421 #F0EB59 #F5F291 #FAF9C9

Accessibility & contrast

On white

1.26
#F0EB59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#F0EB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EB59
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EB59#FFFFFF#000000##000000
##F0EB591.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE246
Deuteranopia (green-blind)
#FFE862
Tritanopia (blue-blind)
#FFDDCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0eb59;
/* rgb */ color: rgb(240, 235, 89);
/* oklch */ color: oklch(91.8% 0.164 107.3);
Tailwind
colors: {
  custom: {
    50: '#f8f18e',
    500: '#f0eb59',
    950: '#000000',
  },
}
SCSS
$custom: #f0eb59;
$custom-light: #f8f18e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0eb59",
  "rgb": {
    "r": 240,
    "g": 235,
    "b": 89
  },
  "hsl": {
    "h": 58.013,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91776,
    "c": 0.16361,
    "h": 107.3
  },
  "luminance": 0.78663
}

Semantic roles & 50–950 ramp

primary
#F0EB59
secondary
#3136BC
accent
#0DE006
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0EB59

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

Preview Lab → · Contrast checker → · Palette generator →

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