#F0EB61#F0EB61

#F0EB61 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.8% C 0.158 H 107.2°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#F0EB61
RGBrgb(240, 235, 97)
HSLhsl(58, 83%, 66%)
HSVhsv(58, 60%, 94%)
CMYKcmyk(0%, 2.1%, 59.6%, 5.9%)
CIE-LABlab(91.15, -15.08, 65.72)
CIE-LCHlch(91.15, 67.43, 102.92°)
OKLaboklab(91.85% -0.0465 0.1505)
OKLCHoklch(91.85% 0.158 107.2)
XYZxyz(67.8034, 78.8071, 22.9466)
Luminance0.7881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EB61 #6166F0
analogous
#F0A361 #F0EB61 #ADF061
triadic
#F0EB61 #61F0EB #EB61F0
tetradic
#F0EB61 #61F0A3 #6166F0 #F061AD
square
#F0EB61 #61F0A3 #6166F0 #F061AD
split-complementary
#F0EB61 #61ADF0 #A361F0
monochromatic
#C4BE13 #EBE429 #F0EB61 #F5F299 #FBF9D1

Accessibility & contrast

On white

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

On black

16.76
#F0EB61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EB61
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EB61#FFFFFF#000000##000000
##F0EB611.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE351
Deuteranopia (green-blind)
#FFE869
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f0eb61;
/* rgb */ color: rgb(240, 235, 97);
/* oklch */ color: oklch(91.8% 0.158 107.2);
Tailwind
colors: {
  custom: {
    50: '#f8f193',
    500: '#f0eb61',
    950: '#000000',
  },
}
SCSS
$custom: #f0eb61;
$custom-light: #f8f193;
$custom-dark: #000000;
JSON
{
  "hex": "#f0eb61",
  "rgb": {
    "r": 240,
    "g": 235,
    "b": 97
  },
  "hsl": {
    "h": 57.902,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.91848,
    "c": 0.1575,
    "h": 107.2
  },
  "luminance": 0.78805
}

Semantic roles & 50–950 ramp

primary
#F0EB61
secondary
#3439C2
accent
#0EDF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0EB61

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

Preview Lab → · Contrast checker → · Palette generator →

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