#F5EF5E#F5EF5E

#F5EF5E is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.1% C 0.163 H 106.9°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#F5EF5E
RGBrgb(245, 239, 94)
HSLhsl(58, 88%, 66%)
HSVhsv(58, 62%, 96%)
CMYKcmyk(0%, 2.4%, 61.6%, 3.9%)
CIE-LABlab(92.56, -15.21, 68.59)
CIE-LCHlch(92.56, 70.26, 102.50°)
OKLaboklab(93.06% -0.0475 0.1561)
OKLCHoklch(93.06% 0.163 106.9)
XYZxyz(70.5455, 81.9559, 22.6905)
Luminance0.8195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF5E #5E64F5
analogous
#F5A45E #F5EF5E #B0F55E
triadic
#F5EF5E #5EF5EF #EF5EF5
tetradic
#F5EF5E #5EF5A4 #5E64F5 #F55EB0
square
#F5EF5E #5EF5A4 #5E64F5 #F55EB0
split-complementary
#F5EF5E #5EB0F5 #A45EF5
monochromatic
#CCC40D #F1E924 #F5EF5E #F9F598 #FCFAD1

Accessibility & contrast

On white

1.21
#F5EF5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#F5EF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF5E
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF5E#FFFFFF#000000##000000
##F5EF5E1.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE64C
Deuteranopia (green-blind)
#FFEC67
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ef5e;
/* rgb */ color: rgb(245, 239, 94);
/* oklch */ color: oklch(93.1% 0.163 106.9);
Tailwind
colors: {
  custom: {
    50: '#fcf492',
    500: '#f5ef5e',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef5e;
$custom-light: #fcf492;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef5e",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 94
  },
  "hsl": {
    "h": 57.616,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93058,
    "c": 0.16311,
    "h": 106.9
  },
  "luminance": 0.81954
}

Semantic roles & 50–950 ramp

primary
#F5EF5E
secondary
#2F35C8
accent
#0AE501
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5EF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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