#F0EB47#F0EB47

#F0EB47 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.6% C 0.175 H 107.7°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#F0EB47
RGBrgb(240, 235, 71)
HSLhsl(58, 85%, 61%)
HSVhsv(58, 70%, 94%)
CMYKcmyk(0%, 2.1%, 70.4%, 5.9%)
CIE-LABlab(90.96, -16.53, 75.52)
CIE-LCHlch(90.96, 77.31, 102.35°)
OKLaboklab(91.64% -0.0532 0.1672)
OKLCHoklch(91.64% 0.175 107.7)
XYZxyz(66.7834, 78.3991, 17.5747)
Luminance0.7840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EB47 #474CF0
analogous
#F09647 #F0EB47 #A0F047
triadic
#F0EB47 #47F0EB #EB47F0
tetradic
#F0EB47 #47F096 #474CF0 #F047A0
square
#F0EB47 #47F096 #474CF0 #F047A0
split-complementary
#F0EB47 #47A0F0 #9647F0
monochromatic
#AEAA0E #E7E113 #F0EB47 #F5F180 #F9F7B8

Accessibility & contrast

On white

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

On black

16.68
#F0EB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EB47
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EB47#FFFFFF#000000##000000
##F0EB471.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE22A
Deuteranopia (green-blind)
#FFE853
Tritanopia (blue-blind)
#FFDCCB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0eb47;
/* rgb */ color: rgb(240, 235, 71);
/* oklch */ color: oklch(91.6% 0.175 107.7);
Tailwind
colors: {
  custom: {
    50: '#f9f185',
    500: '#f0eb47',
    950: '#000000',
  },
}
SCSS
$custom: #f0eb47;
$custom-light: #f9f185;
$custom-dark: #000000;
JSON
{
  "hex": "#f0eb47",
  "rgb": {
    "r": 240,
    "g": 235,
    "b": 71
  },
  "hsl": {
    "h": 58.225,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.91641,
    "c": 0.17549,
    "h": 107.7
  },
  "luminance": 0.78397
}

Semantic roles & 50–950 ramp

primary
#F0EB47
secondary
#2C30AF
accent
#0BE104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #F0EB47

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

Preview Lab → · Contrast checker → · Palette generator →

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