#F5F362#F5F362

#F5F362 is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 93.9% C 0.164 H 108.4°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#F5F362
RGBrgb(245, 243, 98)
HSLhsl(59, 88%, 67%)
HSVhsv(59, 60%, 96%)
CMYKcmyk(0%, 0.8%, 60%, 3.9%)
CIE-LABlab(93.62, -16.90, 68.10)
CIE-LCHlch(93.62, 70.17, 103.94°)
OKLaboklab(93.92% -0.0518 0.1556)
OKLCHoklch(93.92% 0.164 108.4)
XYZxyz(71.9136, 84.3976, 24.0551)
Luminance0.8440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F362 #6264F5
analogous
#F5AA62 #F5F362 #ADF562
triadic
#F5F362 #62F5F3 #F362F5
tetradic
#F5F362 #62F5AA #6264F5 #F562AD
square
#F5F362 #62F5AA #6264F5 #F562AD
split-complementary
#F5F362 #62ADF5 #AA62F5
monochromatic
#CFCD0D #F1EF28 #F5F362 #F9F79C #FCFCD5

Accessibility & contrast

On white

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

On black

17.88
#F5F362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F362
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F362#FFFFFF#000000##000000
##F5F3621.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA51
Deuteranopia (green-blind)
#FFEF6B
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f362;
/* rgb */ color: rgb(245, 243, 98);
/* oklch */ color: oklch(93.9% 0.164 108.4);
Tailwind
colors: {
  custom: {
    50: '#fbf694',
    500: '#f5f362',
    950: '#000000',
  },
}
SCSS
$custom: #f5f362;
$custom-light: #fbf694;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f362",
  "rgb": {
    "r": 245,
    "g": 243,
    "b": 98
  },
  "hsl": {
    "h": 59.184,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.93919,
    "c": 0.16396,
    "h": 108.4
  },
  "luminance": 0.84396
}

Semantic roles & 50–950 ramp

primary
#F5F362
secondary
#3032CB
accent
#04E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F362

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

Preview Lab → · Contrast checker → · Palette generator →

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