#F0E975#F0E975

#F0E975 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.6% C 0.138 H 105.7°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#F0E975
RGBrgb(240, 233, 117)
HSLhsl(57, 80%, 70%)
HSVhsv(57, 51%, 94%)
CMYKcmyk(0%, 2.9%, 51.3%, 5.9%)
CIE-LABlab(90.82, -12.61, 56.54)
CIE-LCHlch(90.82, 57.93, 102.58°)
OKLaboklab(91.65% -0.0374 0.133)
OKLCHoklch(91.65% 0.138 105.7)
XYZxyz(68.2868, 78.0895, 28.3018)
Luminance0.7809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E975 #757CF0
analogous
#F0AB75 #F0E975 #BAF075
triadic
#F0E975 #75F0E9 #E975F0
tetradic
#F0E975 #75F0AB #757CF0 #F075BA
square
#F0E975 #75F0AB #757CF0 #F075BA
split-complementary
#F0E975 #75BAF0 #AB75F0
monochromatic
#D4C917 #EAE03E #F0E975 #F6F2AC #FCFBE3

Accessibility & contrast

On white

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

On black

16.62
#F0E975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E975
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E975#FFFFFF#000000##000000
##F0E9751.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26A
Deuteranopia (green-blind)
#FDE77B
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0e975;
/* rgb */ color: rgb(240, 233, 117);
/* oklch */ color: oklch(91.6% 0.138 105.7);
Tailwind
colors: {
  custom: {
    50: '#f7efa0',
    500: '#f0e975',
    950: '#000000',
  },
}
SCSS
$custom: #f0e975;
$custom-light: #f7efa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e975",
  "rgb": {
    "r": 240,
    "g": 233,
    "b": 117
  },
  "hsl": {
    "h": 56.585,
    "s": 80.392,
    "l": 70
  },
  "oklch": {
    "l": 0.9165,
    "c": 0.13818,
    "h": 105.7
  },
  "luminance": 0.78087
}

Semantic roles & 50–950 ramp

primary
#F0E975
secondary
#4048C9
accent
#15DD09
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #F0E975

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

Preview Lab → · Contrast checker → · Palette generator →

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