#F0EA61#F0EA61

#F0EA61 is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.6% C 0.157 H 106.8°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#F0EA61
RGBrgb(240, 234, 97)
HSLhsl(57, 83%, 66%)
HSVhsv(57, 60%, 94%)
CMYKcmyk(0%, 2.5%, 59.6%, 5.9%)
CIE-LABlab(90.89, -14.59, 65.43)
CIE-LCHlch(90.89, 67.04, 102.57°)
OKLaboklab(91.64% -0.0451 0.1499)
OKLCHoklch(91.64% 0.157 106.8)
XYZxyz(67.5179, 78.2361, 22.8514)
Luminance0.7823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA61 #6167F0
analogous
#F0A261 #F0EA61 #AEF061
triadic
#F0EA61 #61F0EA #EA61F0
tetradic
#F0EA61 #61F0A2 #6167F0 #F061AE
square
#F0EA61 #61F0A2 #6167F0 #F061AE
split-complementary
#F0EA61 #61AEF0 #A261F0
monochromatic
#C4BD13 #EBE329 #F0EA61 #F5F199 #FBF9D1

Accessibility & contrast

On white

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

On black

16.65
#F0EA61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EA61
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EA61#FFFFFF#000000##000000
##F0EA611.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE251
Deuteranopia (green-blind)
#FFE869
Tritanopia (blue-blind)
#FFDCCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0ea61;
/* rgb */ color: rgb(240, 234, 97);
/* oklch */ color: oklch(91.6% 0.157 106.8);
Tailwind
colors: {
  custom: {
    50: '#f8f093',
    500: '#f0ea61',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea61;
$custom-light: #f8f093;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea61",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 97
  },
  "hsl": {
    "h": 57.483,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.91641,
    "c": 0.15652,
    "h": 106.8
  },
  "luminance": 0.78234
}

Semantic roles & 50–950 ramp

primary
#F0EA61
secondary
#343AC2
accent
#10DF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0EA61

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

Preview Lab → · Contrast checker → · Palette generator →

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