#FEF570#FEF570

#FEF570 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.2% C 0.154 H 105.4°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#FEF570
RGBrgb(254, 245, 112)
HSLhsl(56, 99%, 72%)
HSVhsv(56, 56%, 100%)
CMYKcmyk(0%, 3.5%, 55.9%, 0.4%)
CIE-LABlab(94.97, -13.32, 63.85)
CIE-LCHlch(94.97, 65.22, 101.78°)
OKLaboklab(95.2% -0.0407 0.148)
OKLCHoklch(95.2% 0.154 105.4)
XYZxyz(76.4525, 87.5480, 28.1973)
Luminance0.8754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF570 #7079FE
analogous
#FEAE70 #FEF570 #C0FE70
triadic
#FEF570 #70FEF5 #F570FE
tetradic
#FEF570 #70FEAE #7079FE #FE70C0
square
#FEF570 #70FEAE #7079FE #FE70C0
split-complementary
#FEF570 #70C0FE #AE70FE
monochromatic
#F2E302 #FEF133 #FEF570 #FEF9AD #FFFDE1

Accessibility & contrast

On white

1.13
#FEF570 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.51
#FEF570 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF570
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF570#FFFFFF#000000##000000
##FEF5701.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED62
Deuteranopia (green-blind)
#FFF377
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef570;
/* rgb */ color: rgb(254, 245, 112);
/* oklch */ color: oklch(95.2% 0.154 105.4);
Tailwind
colors: {
  custom: {
    50: '#fff89d',
    500: '#fef570',
    950: '#000000',
  },
}
SCSS
$custom: #fef570;
$custom-light: #fff89d;
$custom-dark: #000000;
JSON
{
  "hex": "#fef570",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 112
  },
  "hsl": {
    "h": 56.197,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95204,
    "c": 0.15353,
    "h": 105.4
  },
  "luminance": 0.87545
}

Semantic roles & 50–950 ramp

primary
#FEF570
secondary
#3842DA
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF570

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

Preview Lab → · Contrast checker → · Palette generator →

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