#F0D358#F0D358

#F0D358 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.9% C 0.144 H 96.0°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#F0D358
RGBrgb(240, 211, 88)
HSLhsl(49, 84%, 64%)
HSVhsv(49, 63%, 94%)
CMYKcmyk(0%, 12.1%, 63.3%, 5.9%)
CIE-LABlab(84.91, -3.66, 62.76)
CIE-LCHlch(84.91, 62.87, 93.34°)
OKLaboklab(86.87% -0.0149 0.143)
OKLCHoklch(86.87% 0.144 96)
XYZxyz(60.9936, 65.8214, 18.7227)
Luminance0.6582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D358 #5875F0
analogous
#F08758 #F0D358 #C1F058
triadic
#F0D358 #58F0D3 #D358F0
tetradic
#F0D358 #58F087 #5875F0 #F058C1
square
#F0D358 #58F087 #5875F0 #F058C1
split-complementary
#F0D358 #58C1F0 #8758F0
monochromatic
#BD9C11 #EBC420 #F0D358 #F5E290 #FAF1C8

Accessibility & contrast

On white

1.48
#F0D358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#F0D358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D358
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D358#FFFFFF#000000##000000
##F0D3581.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4A
Deuteranopia (green-blind)
#EED85E
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f0d358;
/* rgb */ color: rgb(240, 211, 88);
/* oklch */ color: oklch(86.9% 0.144 96.0);
Tailwind
colors: {
  custom: {
    50: '#f8e08c',
    500: '#f0d358',
    950: '#000000',
  },
}
SCSS
$custom: #f0d358;
$custom-light: #f8e08c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d358",
  "rgb": {
    "r": 240,
    "g": 211,
    "b": 88
  },
  "hsl": {
    "h": 48.553,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86867,
    "c": 0.14375,
    "h": 96
  },
  "luminance": 0.65818
}

Semantic roles & 50–950 ramp

primary
#F0D358
secondary
#314BBB
accent
#2FE006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D358

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

Preview Lab → · Contrast checker → · Palette generator →

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