#F0EB74#F0EB74

#F0EB74 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.0% C 0.141 H 106.7°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#F0EB74
RGBrgb(240, 235, 116)
HSLhsl(58, 81%, 70%)
HSVhsv(58, 52%, 94%)
CMYKcmyk(0%, 2.1%, 51.7%, 5.9%)
CIE-LABlab(91.33, -13.68, 57.59)
CIE-LCHlch(91.33, 59.19, 103.37°)
OKLaboklab(92.05% -0.0405 0.1352)
OKLCHoklch(92.05% 0.141 106.7)
XYZxyz(68.7977, 79.2048, 28.1836)
Luminance0.7920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EB74 #7479F0
analogous
#F0AD74 #F0EB74 #B7F074
triadic
#F0EB74 #74F0EB #EB74F0
tetradic
#F0EB74 #74F0AD #7479F0 #F074B7
square
#F0EB74 #74F0AD #7479F0 #F074B7
split-complementary
#F0EB74 #74B7F0 #AD74F0
monochromatic
#D3CB17 #EAE33D #F0EB74 #F6F3AB #FCFBE2

Accessibility & contrast

On white

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

On black

16.84
#F0EB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EB74
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EB74#FFFFFF#000000##000000
##F0EB741.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE369
Deuteranopia (green-blind)
#FEE97A
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f0eb74;
/* rgb */ color: rgb(240, 235, 116);
/* oklch */ color: oklch(92.0% 0.141 106.7);
Tailwind
colors: {
  custom: {
    50: '#f7f19f',
    500: '#f0eb74',
    950: '#000000',
  },
}
SCSS
$custom: #f0eb74;
$custom-light: #f7f19f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0eb74",
  "rgb": {
    "r": 240,
    "g": 235,
    "b": 116
  },
  "hsl": {
    "h": 57.581,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92049,
    "c": 0.14115,
    "h": 106.7
  },
  "luminance": 0.79203
}

Semantic roles & 50–950 ramp

primary
#F0EB74
secondary
#3F44C9
accent
#11DD09
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #F0EB74

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

Preview Lab → · Contrast checker → · Palette generator →

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