#F0EF4D#F0EF4D

#F0EF4D is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.5% C 0.176 H 109.0°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#F0EF4D
RGBrgb(240, 239, 77)
HSLhsl(60, 84%, 62%)
HSVhsv(60, 68%, 94%)
CMYKcmyk(0%, 0.4%, 67.9%, 5.9%)
CIE-LABlab(92.04, -18.19, 74.47)
CIE-LCHlch(92.04, 76.65, 103.73°)
OKLaboklab(92.51% -0.0573 0.166)
OKLCHoklch(92.51% 0.176 109)
XYZxyz(68.1436, 80.7961, 19.0254)
Luminance0.8079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EF4D #4D4EF0
analogous
#F09E4D #F0EF4D #A0F04D
triadic
#F0EF4D #4DF0EF #EF4DF0
tetradic
#F0EF4D #4DF09E #4D4EF0 #F04DA0
square
#F0EF4D #4DF09E #4D4EF0 #F04DA0
split-complementary
#F0EF4D #4DA0F0 #9E4DF0
monochromatic
#B3B20F #EBEA15 #F0EF4D #F5F485 #FAF9BE

Accessibility & contrast

On white

1.22
#F0EF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.16
#F0EF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EF4D
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EF4D#FFFFFF#000000##000000
##F0EF4D1.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE533
Deuteranopia (green-blind)
#FFEB58
Tritanopia (blue-blind)
#FFE0CF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f0ef4d;
/* rgb */ color: rgb(240, 239, 77);
/* oklch */ color: oklch(92.5% 0.176 109.0);
Tailwind
colors: {
  custom: {
    50: '#f9f488',
    500: '#f0ef4d',
    950: '#000000',
  },
}
SCSS
$custom: #f0ef4d;
$custom-light: #f9f488;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ef4d",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 77
  },
  "hsl": {
    "h": 59.632,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.92513,
    "c": 0.17561,
    "h": 109
  },
  "luminance": 0.80794
}

Semantic roles & 50–950 ramp

primary
#F0EF4D
secondary
#2E2FB3
accent
#06E105
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F0EF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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