#F0E75B#F0E75B

#F0E75B is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 91.0% C 0.158 H 105.6°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#F0E75B
RGBrgb(240, 231, 91)
HSLhsl(56, 83%, 65%)
HSVhsv(56, 62%, 94%)
CMYKcmyk(0%, 3.7%, 62.1%, 5.9%)
CIE-LABlab(90.06, -13.50, 67.03)
CIE-LCHlch(90.06, 68.38, 101.39°)
OKLaboklab(90.97% -0.0426 0.1525)
OKLCHoklch(90.97% 0.158 105.6)
XYZxyz(66.4018, 76.4347, 21.1511)
Luminance0.7643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E75B #5B64F0
analogous
#F09D5B #F0E75B #AEF05B
triadic
#F0E75B #5BF0E7 #E75BF0
tetradic
#F0E75B #5BF09D #5B64F0 #F05BAE
square
#F0E75B #5BF09D #5B64F0 #F05BAE
split-complementary
#F0E75B #5BAEF0 #9D5BF0
monochromatic
#BFB511 #EBDF23 #F0E75B #F5EF93 #FAF7CB

Accessibility & contrast

On white

1.29
#F0E75B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#F0E75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E75B
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E75B#FFFFFF#000000##000000
##F0E75B1.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF4A
Deuteranopia (green-blind)
#FDE563
Tritanopia (blue-blind)
#FFD9CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f0e75b;
/* rgb */ color: rgb(240, 231, 91);
/* oklch */ color: oklch(91.0% 0.158 105.6);
Tailwind
colors: {
  custom: {
    50: '#f8ee8f',
    500: '#f0e75b',
    950: '#000000',
  },
}
SCSS
$custom: #f0e75b;
$custom-light: #f8ee8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e75b",
  "rgb": {
    "r": 240,
    "g": 231,
    "b": 91
  },
  "hsl": {
    "h": 56.376,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90967,
    "c": 0.1583,
    "h": 105.6
  },
  "luminance": 0.76432
}

Semantic roles & 50–950 ramp

primary
#F0E75B
secondary
#323ABD
accent
#13E006
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E75B

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

Preview Lab → · Contrast checker → · Palette generator →

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