#F5E185#F5E185

#F5E185 is a very light, moderate yellow. Relative luminance 0.750; OKLCH L 90.7% C 0.115 H 97.4°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#F5E185
RGBrgb(245, 225, 133)
HSLhsl(49, 85%, 74%)
HSVhsv(49, 46%, 96%)
CMYKcmyk(0%, 8.2%, 45.7%, 3.9%)
CIE-LABlab(89.37, -5.22, 47.30)
CIE-LCHlch(89.37, 47.58, 96.30°)
OKLaboklab(90.66% -0.0148 0.1139)
OKLCHoklch(90.66% 0.115 97.4)
XYZxyz(68.8169, 74.9588, 33.0293)
Luminance0.7496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E185 #8599F5
analogous
#F5A985 #F5E185 #D1F585
triadic
#F5E185 #85F5E1 #E185F5
tetradic
#F5E185 #85F5A9 #8599F5 #F585D1
square
#F5E185 #85F5A9 #8599F5 #F585D1
split-complementary
#F5E185 #85D1F5 #A985F5
monochromatic
#ECC514 #F0D34C #F5E185 #FAEFBE #FDF8E3

Accessibility & contrast

On white

1.31
#F5E185 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.99
#F5E185 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E185
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E185#FFFFFF#000000##000000
##F5E1851.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD7E
Deuteranopia (green-blind)
#F7E489
Tritanopia (blue-blind)
#FFD5CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e185;
/* rgb */ color: rgb(245, 225, 133);
/* oklch */ color: oklch(90.7% 0.115 97.4);
Tailwind
colors: {
  custom: {
    50: '#faeaaa',
    500: '#f5e185',
    950: '#000000',
  },
}
SCSS
$custom: #f5e185;
$custom-light: #faeaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e185",
  "rgb": {
    "r": 245,
    "g": 225,
    "b": 133
  },
  "hsl": {
    "h": 49.286,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90662,
    "c": 0.11483,
    "h": 97.4
  },
  "luminance": 0.74956
}

Semantic roles & 50–950 ramp

primary
#F5E185
secondary
#4D64D2
accent
#2CE104
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E185

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

Preview Lab → · Contrast checker → · Palette generator →

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