#F5D462#F5D462

#F5D462 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.6% C 0.137 H 93.2°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#F5D462
RGBrgb(245, 212, 98)
HSLhsl(47, 88%, 67%)
HSVhsv(47, 60%, 96%)
CMYKcmyk(0%, 13.5%, 60%, 3.9%)
CIE-LABlab(85.70, -1.46, 59.39)
CIE-LCHlch(85.70, 59.40, 91.41°)
OKLaboklab(87.63% -0.0077 0.137)
OKLCHoklch(87.63% 0.137 93.2)
XYZxyz(63.4071, 67.3845, 21.2196)
Luminance0.6738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D462 #6283F5
analogous
#F58B62 #F5D462 #CCF562
triadic
#F5D462 #62F5D4 #D462F5
tetradic
#F5D462 #62F58B #6283F5 #F562CC
square
#F5D462 #62F58B #6283F5 #F562CC
split-complementary
#F5D462 #62CCF5 #8B62F5
monochromatic
#CFA40D #F1C428 #F5D462 #F9E49C #FCF4D5

Accessibility & contrast

On white

1.45
#F5D462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#F5D462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D462
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D462#FFFFFF#000000##000000
##F5D4621.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D156
Deuteranopia (green-blind)
#F0DA67
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f5d462;
/* rgb */ color: rgb(245, 212, 98);
/* oklch */ color: oklch(87.6% 0.137 93.2);
Tailwind
colors: {
  custom: {
    50: '#fce092',
    500: '#f5d462',
    950: '#000000',
  },
}
SCSS
$custom: #f5d462;
$custom-light: #fce092;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d462",
  "rgb": {
    "r": 245,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 46.531,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87628,
    "c": 0.13722,
    "h": 93.2
  },
  "luminance": 0.67381
}

Semantic roles & 50–950 ramp

primary
#F5D462
secondary
#3053CB
accent
#34E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D462

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

Preview Lab → · Contrast checker → · Palette generator →

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