#F5E285#F5E285

#F5E285 is a very light, moderate yellow. Relative luminance 0.755; OKLCH L 90.9% C 0.116 H 98.1°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#F5E285
RGBrgb(245, 226, 133)
HSLhsl(50, 85%, 74%)
HSVhsv(50, 46%, 96%)
CMYKcmyk(0%, 7.8%, 45.7%, 3.9%)
CIE-LABlab(89.63, -5.73, 47.61)
CIE-LCHlch(89.63, 47.95, 96.86°)
OKLaboklab(90.86% -0.0162 0.1146)
OKLCHoklch(90.86% 0.116 98.1)
XYZxyz(69.0880, 75.5011, 33.1197)
Luminance0.7550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E285 #8598F5
analogous
#F5AA85 #F5E285 #D0F585
triadic
#F5E285 #85F5E2 #E285F5
tetradic
#F5E285 #85F5AA #8598F5 #F585D0
square
#F5E285 #85F5AA #8598F5 #F585D0
split-complementary
#F5E285 #85D0F5 #AA85F5
monochromatic
#ECC714 #F0D54C #F5E285 #FAEFBE #FDF8E3

Accessibility & contrast

On white

1.30
#F5E285 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#F5E285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E285
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E285#FFFFFF#000000##000000
##F5E2851.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD7D
Deuteranopia (green-blind)
#F8E489
Tritanopia (blue-blind)
#FFD6CC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e285;
/* rgb */ color: rgb(245, 226, 133);
/* oklch */ color: oklch(90.9% 0.116 98.1);
Tailwind
colors: {
  custom: {
    50: '#faeaaa',
    500: '#f5e285',
    950: '#000000',
  },
}
SCSS
$custom: #f5e285;
$custom-light: #faeaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e285",
  "rgb": {
    "r": 245,
    "g": 226,
    "b": 133
  },
  "hsl": {
    "h": 49.821,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90862,
    "c": 0.11572,
    "h": 98.1
  },
  "luminance": 0.75499
}

Semantic roles & 50–950 ramp

primary
#F5E285
secondary
#4D63D2
accent
#2AE104
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E285

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

Preview Lab → · Contrast checker → · Palette generator →

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