#F0E747#F0E747

#F0E747 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 90.8% C 0.172 H 106.1°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#F0E747
RGBrgb(240, 231, 71)
HSLhsl(57, 85%, 61%)
HSVhsv(57, 70%, 94%)
CMYKcmyk(0%, 3.7%, 70.4%, 5.9%)
CIE-LABlab(89.92, -14.58, 74.51)
CIE-LCHlch(89.92, 75.93, 101.07°)
OKLaboklab(90.81% -0.0477 0.1651)
OKLCHoklch(90.81% 0.172 106.1)
XYZxyz(65.6510, 76.1344, 17.1972)
Luminance0.7613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E747 #4750F0
analogous
#F09247 #F0E747 #A4F047
triadic
#F0E747 #47F0E7 #E747F0
tetradic
#F0E747 #47F092 #4750F0 #F047A4
square
#F0E747 #47F092 #4750F0 #F047A4
split-complementary
#F0E747 #47A4F0 #9247F0
monochromatic
#AEA60E #E7DC13 #F0E747 #F5EE80 #F9F6B8

Accessibility & contrast

On white

1.29
#F0E747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#F0E747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E747
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E747#FFFFFF#000000##000000
##F0E7471.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBDF2B
Deuteranopia (green-blind)
#FEE552
Tritanopia (blue-blind)
#FFD8C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f0e747;
/* rgb */ color: rgb(240, 231, 71);
/* oklch */ color: oklch(90.8% 0.172 106.1);
Tailwind
colors: {
  custom: {
    50: '#f9ee84',
    500: '#f0e747',
    950: '#000000',
  },
}
SCSS
$custom: #f0e747;
$custom-light: #f9ee84;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e747",
  "rgb": {
    "r": 240,
    "g": 231,
    "b": 71
  },
  "hsl": {
    "h": 56.805,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.90812,
    "c": 0.17186,
    "h": 106.1
  },
  "luminance": 0.76132
}

Semantic roles & 50–950 ramp

primary
#F0E747
secondary
#2C33AF
accent
#10E104
background
#FFFEFC
surface
#FFFDF3
border
#D7D5CD
text
#18160C
muted
#86847F

Preview Lab

Preview with #F0E747

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

Preview Lab → · Contrast checker → · Palette generator →

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