#F0D35F#F0D35F

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

Color values

HEX#F0D35F
RGBrgb(240, 211, 95)
HSLhsl(48, 83%, 66%)
HSVhsv(48, 60%, 94%)
CMYKcmyk(0%, 12.1%, 60.4%, 5.9%)
CIE-LABlab(84.97, -3.22, 59.78)
CIE-LCHlch(84.97, 59.87, 93.08°)
OKLaboklab(86.94% -0.0128 0.1376)
OKLCHoklch(86.94% 0.138 95.3)
XYZxyz(61.2976, 65.9430, 20.3238)
Luminance0.6594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D35F #5F7CF0
analogous
#F08A5F #F0D35F #C4F05F
triadic
#F0D35F #5FF0D3 #D35FF0
tetradic
#F0D35F #5FF08A #5F7CF0 #F05FC4
square
#F0D35F #5FF08A #5F7CF0 #F05FC4
split-complementary
#F0D35F #5FC4F0 #8A5FF0
monochromatic
#C29F12 #EBC427 #F0D35F #F5E297 #FAF2CF

Accessibility & contrast

On white

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

On black

14.19
#F0D35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D35F
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D35F#FFFFFF#000000##000000
##F0D35F1.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF53
Deuteranopia (green-blind)
#EED864
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f0d35f;
/* rgb */ color: rgb(240, 211, 95);
/* oklch */ color: oklch(86.9% 0.138 95.3);
Tailwind
colors: {
  custom: {
    50: '#f8e090',
    500: '#f0d35f',
    950: '#000000',
  },
}
SCSS
$custom: #f0d35f;
$custom-light: #f8e090;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d35f",
  "rgb": {
    "r": 240,
    "g": 211,
    "b": 95
  },
  "hsl": {
    "h": 48,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86936,
    "c": 0.13819,
    "h": 95.3
  },
  "luminance": 0.6594
}

Semantic roles & 50–950 ramp

primary
#F0D35F
secondary
#334FC0
accent
#32DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D35F

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

Preview Lab → · Contrast checker → · Palette generator →

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