#F0EF76#F0EF76

#F0EF76 is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 92.9% C 0.143 H 108.5°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#F0EF76
RGBrgb(240, 239, 118)
HSLhsl(60, 80%, 70%)
HSVhsv(60, 51%, 94%)
CMYKcmyk(0%, 0.4%, 50.8%, 5.9%)
CIE-LABlab(92.38, -15.48, 57.91)
CIE-LCHlch(92.38, 59.94, 104.97°)
OKLaboklab(92.9% -0.0454 0.1361)
OKLCHoklch(92.9% 0.144 108.5)
XYZxyz(70.0734, 81.5680, 29.1889)
Luminance0.8157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EF76 #7677F0
analogous
#F0B276 #F0EF76 #B4F076
triadic
#F0EF76 #76F0EF #EF76F0
tetradic
#F0EF76 #76F0B2 #7677F0 #F076B4
square
#F0EF76 #76F0B2 #7677F0 #F076B4
split-complementary
#F0EF76 #76B4F0 #B276F0
monochromatic
#D4D317 #EAE93F #F0EF76 #F6F5AD #FCFCE3

Accessibility & contrast

On white

1.21
#F0EF76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#F0EF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EF76
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EF76#FFFFFF#000000##000000
##F0EF761.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76B
Deuteranopia (green-blind)
#FFEB7C
Tritanopia (blue-blind)
#FEE2D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f0ef76;
/* rgb */ color: rgb(240, 239, 118);
/* oklch */ color: oklch(92.9% 0.143 108.5);
Tailwind
colors: {
  custom: {
    50: '#f7f4a1',
    500: '#f0ef76',
    950: '#000000',
  },
}
SCSS
$custom: #f0ef76;
$custom-light: #f7f4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ef76",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 118
  },
  "hsl": {
    "h": 59.508,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92897,
    "c": 0.1435,
    "h": 108.5
  },
  "luminance": 0.81566
}

Semantic roles & 50–950 ramp

primary
#F0EF76
secondary
#4142CA
accent
#0BDD09
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #F0EF76

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

Preview Lab → · Contrast checker → · Palette generator →

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