#F0EC47#F0EC47

#F0EC47 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 91.8% C 0.176 H 108.0°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#F0EC47
RGBrgb(240, 236, 71)
HSLhsl(59, 85%, 61%)
HSVhsv(59, 70%, 94%)
CMYKcmyk(0%, 1.7%, 70.4%, 5.9%)
CIE-LABlab(91.22, -17.02, 75.77)
CIE-LCHlch(91.22, 77.66, 102.66°)
OKLaboklab(91.85% -0.0546 0.1678)
OKLCHoklch(91.85% 0.176 108)
XYZxyz(67.0705, 78.9733, 17.6704)
Luminance0.7897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EC47 #474BF0
analogous
#F09747 #F0EC47 #9FF047
triadic
#F0EC47 #47F0EC #EC47F0
tetradic
#F0EC47 #47F097 #474BF0 #F0479F
square
#F0EC47 #47F097 #474BF0 #F0479F
split-complementary
#F0EC47 #479FF0 #9747F0
monochromatic
#AEAB0E #E7E213 #F0EC47 #F5F280 #F9F8B8

Accessibility & contrast

On white

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

On black

16.79
#F0EC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EC47
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EC47#FFFFFF#000000##000000
##F0EC471.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE329
Deuteranopia (green-blind)
#FFE953
Tritanopia (blue-blind)
#FFDDCC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f0ec47;
/* rgb */ color: rgb(240, 236, 71);
/* oklch */ color: oklch(91.8% 0.176 108.0);
Tailwind
colors: {
  custom: {
    50: '#f9f185',
    500: '#f0ec47',
    950: '#000000',
  },
}
SCSS
$custom: #f0ec47;
$custom-light: #f9f185;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ec47",
  "rgb": {
    "r": 240,
    "g": 236,
    "b": 71
  },
  "hsl": {
    "h": 58.58,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.91848,
    "c": 0.17642,
    "h": 108
  },
  "luminance": 0.78971
}

Semantic roles & 50–950 ramp

primary
#F0EC47
secondary
#2C30AF
accent
#09E104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #F0EC47

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

Preview Lab → · Contrast checker → · Palette generator →

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