#F5D362#F5D362

#F5D362 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.4% C 0.137 H 92.6°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#F5D362
RGBrgb(245, 211, 98)
HSLhsl(46, 88%, 67%)
HSVhsv(46, 60%, 96%)
CMYKcmyk(0%, 13.9%, 60%, 3.9%)
CIE-LABlab(85.45, -0.95, 59.10)
CIE-LCHlch(85.45, 59.11, 90.92°)
OKLaboklab(87.43% -0.0062 0.1364)
OKLCHoklch(87.43% 0.137 92.6)
XYZxyz(63.1579, 66.8861, 21.1365)
Luminance0.6688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D362 #6284F5
analogous
#F58962 #F5D362 #CEF562
triadic
#F5D362 #62F5D3 #D362F5
tetradic
#F5D362 #62F589 #6284F5 #F562CE
square
#F5D362 #62F589 #6284F5 #F562CE
split-complementary
#F5D362 #62CEF5 #8962F5
monochromatic
#CFA20D #F1C328 #F5D362 #F9E39C #FCF3D5

Accessibility & contrast

On white

1.46
#F5D362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#F5D362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D362
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D362#FFFFFF#000000##000000
##F5D3621.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#F0DA67
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d362;
/* rgb */ color: rgb(245, 211, 98);
/* oklch */ color: oklch(87.4% 0.137 92.6);
Tailwind
colors: {
  custom: {
    50: '#fce092',
    500: '#f5d362',
    950: '#000000',
  },
}
SCSS
$custom: #f5d362;
$custom-light: #fce092;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d362",
  "rgb": {
    "r": 245,
    "g": 211,
    "b": 98
  },
  "hsl": {
    "h": 46.122,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.8743,
    "c": 0.13654,
    "h": 92.6
  },
  "luminance": 0.66883
}

Semantic roles & 50–950 ramp

primary
#F5D362
secondary
#3054CB
accent
#36E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D362

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

Preview Lab → · Contrast checker → · Palette generator →

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