#F0EB5B#F0EB5B

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

Color values

HEX#F0EB5B
RGBrgb(240, 235, 91)
HSLhsl(58, 83%, 65%)
HSVhsv(58, 62%, 94%)
CMYKcmyk(0%, 2.1%, 62.1%, 5.9%)
CIE-LABlab(91.10, -15.46, 68.14)
CIE-LCHlch(91.10, 69.87, 102.79°)
OKLaboklab(91.79% -0.0482 0.1548)
OKLCHoklch(91.79% 0.162 107.3)
XYZxyz(67.5341, 78.6994, 21.5286)
Luminance0.7870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EB5B #5B60F0
analogous
#F0A15B #F0EB5B #AAF05B
triadic
#F0EB5B #5BF0EB #EB5BF0
tetradic
#F0EB5B #5BF0A1 #5B60F0 #F05BAA
square
#F0EB5B #5BF0A1 #5B60F0 #F05BAA
split-complementary
#F0EB5B #5BAAF0 #A15BF0
monochromatic
#BFB911 #EBE423 #F0EB5B #F5F293 #FAF9CB

Accessibility & contrast

On white

1.25
#F0EB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#F0EB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EB5B
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EB5B#FFFFFF#000000##000000
##F0EB5B1.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0eb5b;
/* rgb */ color: rgb(240, 235, 91);
/* oklch */ color: oklch(91.8% 0.162 107.3);
Tailwind
colors: {
  custom: {
    50: '#f8f190',
    500: '#f0eb5b',
    950: '#000000',
  },
}
SCSS
$custom: #f0eb5b;
$custom-light: #f8f190;
$custom-dark: #000000;
JSON
{
  "hex": "#f0eb5b",
  "rgb": {
    "r": 240,
    "g": 235,
    "b": 91
  },
  "hsl": {
    "h": 57.987,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91793,
    "c": 0.16212,
    "h": 107.3
  },
  "luminance": 0.78697
}

Semantic roles & 50–950 ramp

primary
#F0EB5B
secondary
#3237BD
accent
#0DE006
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0EB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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