#F5E370#F5E370

#F5E370 is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.8% C 0.137 H 100.5°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#F5E370
RGBrgb(245, 227, 112)
HSLhsl(52, 87%, 70%)
HSVhsv(52, 54%, 96%)
CMYKcmyk(0%, 7.3%, 54.3%, 3.9%)
CIE-LABlab(89.64, -8.03, 57.55)
CIE-LCHlch(89.64, 58.11, 97.94°)
OKLaboklab(90.79% -0.025 0.1347)
OKLCHoklch(90.79% 0.137 100.5)
XYZxyz(68.0522, 75.5231, 26.3188)
Luminance0.7552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E370 #7082F5
analogous
#F5A170 #F5E370 #C4F570
triadic
#F5E370 #70F5E3 #E370F5
tetradic
#F5E370 #70F5A1 #7082F5 #F570C4
square
#F5E370 #70F5A1 #7082F5 #F570C4
split-complementary
#F5E370 #70C4F5 #A170F5
monochromatic
#DBC00F #F1D837 #F5E370 #F9EEA9 #FDF9E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5E370#FFFFFF#000000##000000
##F5E3701.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)
#F5DD65
Deuteranopia (green-blind)
#FAE575
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e370;
/* rgb */ color: rgb(245, 227, 112);
/* oklch */ color: oklch(90.8% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#fbeb9c',
    500: '#f5e370',
    950: '#000000',
  },
}
SCSS
$custom: #f5e370;
$custom-light: #fbeb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e370",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 112
  },
  "hsl": {
    "h": 51.88,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.90791,
    "c": 0.13696,
    "h": 100.5
  },
  "luminance": 0.7552
}

Semantic roles & 50–950 ramp

primary
#F5E370
secondary
#3A4ECF
accent
#21E302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E370

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

Preview Lab → · Contrast checker → · Palette generator →

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