#F5E762#F5E762

#F5E762 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.5% C 0.153 H 103.3°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#F5E762
RGBrgb(245, 231, 98)
HSLhsl(54, 88%, 67%)
HSVhsv(54, 60%, 96%)
CMYKcmyk(0%, 5.7%, 60%, 3.9%)
CIE-LABlab(90.53, -11.02, 64.74)
CIE-LCHlch(90.53, 65.67, 99.66°)
OKLaboklab(91.46% -0.0351 0.1484)
OKLCHoklch(91.46% 0.153 103.3)
XYZxyz(68.4392, 77.4487, 22.8969)
Luminance0.7745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E762 #6270F5
analogous
#F59E62 #F5E762 #B9F562
triadic
#F5E762 #62F5E7 #E762F5
tetradic
#F5E762 #62F59E #6270F5 #F562B9
square
#F5E762 #62F59E #6270F5 #F562B9
split-complementary
#F5E762 #62B9F5 #9E62F5
monochromatic
#CFBD0D #F1DE28 #F5E762 #F9F09C #FCF9D5

Accessibility & contrast

On white

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

On black

16.49
#F5E762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E762
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E762#FFFFFF#000000##000000
##F5E7621.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE053
Deuteranopia (green-blind)
#FEE769
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e762;
/* rgb */ color: rgb(245, 231, 98);
/* oklch */ color: oklch(91.5% 0.153 103.3);
Tailwind
colors: {
  custom: {
    50: '#fbee94',
    500: '#f5e762',
    950: '#000000',
  },
}
SCSS
$custom: #f5e762;
$custom-light: #fbee94;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e762",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 98
  },
  "hsl": {
    "h": 54.286,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91455,
    "c": 0.15251,
    "h": 103.3
  },
  "luminance": 0.77446
}

Semantic roles & 50–950 ramp

primary
#F5E762
secondary
#303FCB
accent
#17E501
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5E762

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

Preview Lab → · Contrast checker → · Palette generator →

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