#F5F070#F5F070

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

Color values

HEX#F5F070
RGBrgb(245, 240, 112)
HSLhsl(58, 87%, 70%)
HSVhsv(58, 54%, 96%)
CMYKcmyk(0%, 2%, 54.3%, 3.9%)
CIE-LABlab(92.97, -14.46, 61.39)
CIE-LCHlch(92.97, 63.07, 103.25°)
OKLaboklab(93.44% -0.0434 0.1429)
OKLCHoklch(93.44% 0.149 106.9)
XYZxyz(71.7430, 82.9046, 27.5491)
Luminance0.8290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F070 #7075F5
analogous
#F5AD70 #F5F070 #B8F570
triadic
#F5F070 #70F5F0 #F070F5
tetradic
#F5F070 #70F5AD #7075F5 #F570B8
square
#F5F070 #70F5AD #7075F5 #F570B8
split-complementary
#F5F070 #70B8F5 #AD70F5
monochromatic
#DBD40F #F1EA37 #F5F070 #F9F6A9 #FDFCE2

Accessibility & contrast

On white

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

On black

17.58
#F5F070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F070
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F070#FFFFFF#000000##000000
##F5F0701.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f070;
/* rgb */ color: rgb(245, 240, 112);
/* oklch */ color: oklch(93.4% 0.149 106.9);
Tailwind
colors: {
  custom: {
    50: '#fbf49d',
    500: '#f5f070',
    950: '#000000',
  },
}
SCSS
$custom: #f5f070;
$custom-light: #fbf49d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f070",
  "rgb": {
    "r": 245,
    "g": 240,
    "b": 112
  },
  "hsl": {
    "h": 57.744,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.93441,
    "c": 0.14938,
    "h": 106.9
  },
  "luminance": 0.82903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5F070

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

Preview Lab → · Contrast checker → · Palette generator →

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