#F5F072#F5F072

#F5F072 is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.5% C 0.148 H 106.9°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#F5F072
RGBrgb(245, 240, 114)
HSLhsl(58, 87%, 70%)
HSVhsv(58, 53%, 96%)
CMYKcmyk(0%, 2%, 53.5%, 3.9%)
CIE-LABlab(92.99, -14.31, 60.52)
CIE-LCHlch(92.99, 62.19, 103.30°)
OKLaboklab(93.46% -0.0428 0.1413)
OKLCHoklch(93.46% 0.148 106.9)
XYZxyz(71.8556, 82.9496, 28.1421)
Luminance0.8295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F072 #7277F5
analogous
#F5AE72 #F5F072 #B8F572
triadic
#F5F072 #72F5F0 #F072F5
tetradic
#F5F072 #72F5AE #7277F5 #F572B8
square
#F5F072 #72F5AE #7277F5 #F572B8
split-complementary
#F5F072 #72B8F5 #AE72F5
monochromatic
#DDD510 #F1EA39 #F5F072 #F9F6AB #FDFCE2

Accessibility & contrast

On white

1.19
#F5F072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.59
#F5F072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F072
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F072#FFFFFF#000000##000000
##F5F0721.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE866
Deuteranopia (green-blind)
#FFED79
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5f072;
/* rgb */ color: rgb(245, 240, 114);
/* oklch */ color: oklch(93.5% 0.148 106.9);
Tailwind
colors: {
  custom: {
    50: '#fbf49e',
    500: '#f5f072',
    950: '#000000',
  },
}
SCSS
$custom: #f5f072;
$custom-light: #fbf49e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f072",
  "rgb": {
    "r": 245,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 57.71,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93463,
    "c": 0.14761,
    "h": 106.9
  },
  "luminance": 0.82948
}

Semantic roles & 50–950 ramp

primary
#F5F072
secondary
#3C42CF
accent
#0BE302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F072

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

Preview Lab → · Contrast checker → · Palette generator →

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