#F0D35A#F0D35A

#F0D35A is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.9% C 0.142 H 95.8°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#F0D35A
RGBrgb(240, 211, 90)
HSLhsl(48, 83%, 65%)
HSVhsv(48, 63%, 94%)
CMYKcmyk(0%, 12.1%, 62.5%, 5.9%)
CIE-LABlab(84.92, -3.54, 61.92)
CIE-LCHlch(84.92, 62.02, 93.27°)
OKLaboklab(86.89% -0.0143 0.1415)
OKLCHoklch(86.89% 0.142 95.8)
XYZxyz(61.0776, 65.8550, 19.1650)
Luminance0.6585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D35A #5A77F0
analogous
#F0885A #F0D35A #C2F05A
triadic
#F0D35A #5AF0D3 #D35AF0
tetradic
#F0D35A #5AF088 #5A77F0 #F05AC2
square
#F0D35A #5AF088 #5A77F0 #F05AC2
split-complementary
#F0D35A #5AC2F0 #885AF0
monochromatic
#BE9D11 #EBC422 #F0D35A #F5E292 #FAF1CA

Accessibility & contrast

On white

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

On black

14.17
#F0D35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D35A
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D35A#FFFFFF#000000##000000
##F0D35A1.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d35a;
/* rgb */ color: rgb(240, 211, 90);
/* oklch */ color: oklch(86.9% 0.142 95.8);
Tailwind
colors: {
  custom: {
    50: '#f8e08d',
    500: '#f0d35a',
    950: '#000000',
  },
}
SCSS
$custom: #f0d35a;
$custom-light: #f8e08d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d35a",
  "rgb": {
    "r": 240,
    "g": 211,
    "b": 90
  },
  "hsl": {
    "h": 48.4,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86886,
    "c": 0.14219,
    "h": 95.8
  },
  "luminance": 0.65852
}

Semantic roles & 50–950 ramp

primary
#F0D35A
secondary
#324CBD
accent
#30E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D35A

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

Preview Lab → · Contrast checker → · Palette generator →

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