#F5F37E#F5F37E

#F5F37E is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.2% C 0.140 H 107.9°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#F5F37E
RGBrgb(245, 243, 126)
HSLhsl(59, 86%, 73%)
HSVhsv(59, 49%, 96%)
CMYKcmyk(0%, 0.8%, 48.6%, 3.9%)
CIE-LABlab(93.89, -14.79, 56.12)
CIE-LCHlch(93.89, 58.03, 104.77°)
OKLaboklab(94.22% -0.043 0.1328)
OKLCHoklch(94.22% 0.14 107.9)
XYZxyz(73.4744, 85.0219, 32.2750)
Luminance0.8502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F37E #7E80F5
analogous
#F5B87E #F5F37E #BBF57E
triadic
#F5F37E #7EF5F3 #F37EF5
tetradic
#F5F37E #7EF5B8 #7E80F5 #F57EBB
square
#F5F37E #7EF5B8 #7E80F5 #F57EBB
split-complementary
#F5F37E #7EBBF5 #B87EF5
monochromatic
#E7E312 #F1EE45 #F5F37E #F9F8B7 #FDFCE3

Accessibility & contrast

On white

1.17
#F5F37E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.00
#F5F37E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F37E
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F37E#FFFFFF#000000##000000
##F5F37E1.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB73
Deuteranopia (green-blind)
#FFF084
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f37e;
/* rgb */ color: rgb(245, 243, 126);
/* oklch */ color: oklch(94.2% 0.140 107.9);
Tailwind
colors: {
  custom: {
    50: '#faf6a6',
    500: '#f5f37e',
    950: '#000000',
  },
}
SCSS
$custom: #f5f37e;
$custom-light: #faf6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f37e",
  "rgb": {
    "r": 245,
    "g": 243,
    "b": 126
  },
  "hsl": {
    "h": 58.992,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94221,
    "c": 0.13962,
    "h": 107.9
  },
  "luminance": 0.8502
}

Semantic roles & 50–950 ramp

primary
#F5F37E
secondary
#4649D1
accent
#07E203
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #F5F37E

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

Preview Lab → · Contrast checker → · Palette generator →

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