#F5E592#F5E592

#F5E592 is a very light, moderate yellow. Relative luminance 0.775; OKLCH L 91.7% C 0.105 H 98.6°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#F5E592
RGBrgb(245, 229, 146)
HSLhsl(50, 83%, 77%)
HSVhsv(50, 40%, 96%)
CMYKcmyk(0%, 6.5%, 40.4%, 3.9%)
CIE-LABlab(90.56, -5.94, 42.40)
CIE-LCHlch(90.56, 42.82, 97.98°)
OKLaboklab(91.66% -0.0157 0.1035)
OKLCHoklch(91.66% 0.105 98.6)
XYZxyz(70.8653, 77.5286, 38.4201)
Luminance0.7753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E592 #92A2F5
analogous
#F5B492 #F5E592 #D4F592
triadic
#F5E592 #92F5E5 #E592F5
tetradic
#F5E592 #92F5B4 #92A2F5 #F592D4
square
#F5E592 #92F5B4 #92A2F5 #F592D4
split-complementary
#F5E592 #92D4F5 #B492F5
monochromatic
#EBCA22 #F0D85A #F5E592 #FAF2CA #FCF8E3

Accessibility & contrast

On white

1.27
#F5E592 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.51
#F5E592 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E592
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E592#FFFFFF#000000##000000
##F5E5921.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E08C
Deuteranopia (green-blind)
#F9E795
Tritanopia (blue-blind)
#FFDAD0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e592;
/* rgb */ color: rgb(245, 229, 146);
/* oklch */ color: oklch(91.7% 0.105 98.6);
Tailwind
colors: {
  custom: {
    50: '#faedb3',
    500: '#f5e592',
    950: '#000000',
  },
}
SCSS
$custom: #f5e592;
$custom-light: #faedb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e592",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 146
  },
  "hsl": {
    "h": 50.303,
    "s": 83.193,
    "l": 76.667
  },
  "oklch": {
    "l": 0.91661,
    "c": 0.10473,
    "h": 98.6
  },
  "luminance": 0.77526
}

Semantic roles & 50–950 ramp

primary
#F5E592
secondary
#586CD3
accent
#29E006
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F5E592

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

Preview Lab → · Contrast checker → · Palette generator →

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