#F0D458#F0D458

#F0D458 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.1% C 0.144 H 96.5°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#F0D458
RGBrgb(240, 212, 88)
HSLhsl(49, 84%, 64%)
HSVhsv(49, 63%, 94%)
CMYKcmyk(0%, 11.7%, 63.3%, 5.9%)
CIE-LABlab(85.16, -4.17, 63.03)
CIE-LCHlch(85.16, 63.17, 93.79°)
OKLaboklab(87.07% -0.0164 0.1436)
OKLCHoklch(87.07% 0.144 96.5)
XYZxyz(61.2428, 66.3198, 18.8058)
Luminance0.6632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D458 #5874F0
analogous
#F08858 #F0D458 #C0F058
triadic
#F0D458 #58F0D4 #D458F0
tetradic
#F0D458 #58F088 #5874F0 #F058C0
square
#F0D458 #58F088 #5874F0 #F058C0
split-complementary
#F0D458 #58C0F0 #8858F0
monochromatic
#BD9D11 #EBC620 #F0D458 #F5E290 #FAF1C8

Accessibility & contrast

On white

1.47
#F0D458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#F0D458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D458
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D458#FFFFFF#000000##000000
##F0D4581.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF4A
Deuteranopia (green-blind)
#EFD95E
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d458;
/* rgb */ color: rgb(240, 212, 88);
/* oklch */ color: oklch(87.1% 0.144 96.5);
Tailwind
colors: {
  custom: {
    50: '#f8e08c',
    500: '#f0d458',
    950: '#000000',
  },
}
SCSS
$custom: #f0d458;
$custom-light: #f8e08c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d458",
  "rgb": {
    "r": 240,
    "g": 212,
    "b": 88
  },
  "hsl": {
    "h": 48.947,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87068,
    "c": 0.14448,
    "h": 96.5
  },
  "luminance": 0.66317
}

Semantic roles & 50–950 ramp

primary
#F0D458
secondary
#314ABB
accent
#2EE006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D458

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

Preview Lab → · Contrast checker → · Palette generator →

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