#F0D35C#F0D35C

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

Color values

HEX#F0D35C
RGBrgb(240, 211, 92)
HSLhsl(48, 83%, 65%)
HSVhsv(48, 62%, 94%)
CMYKcmyk(0%, 12.1%, 61.7%, 5.9%)
CIE-LABlab(84.94, -3.41, 61.07)
CIE-LCHlch(84.94, 61.17, 93.20°)
OKLaboklab(86.91% -0.0137 0.1399)
OKLCHoklch(86.91% 0.141 95.6)
XYZxyz(61.1639, 65.8895, 19.6194)
Luminance0.6589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D35C #5C79F0
analogous
#F0895C #F0D35C #C3F05C
triadic
#F0D35C #5CF0D3 #D35CF0
tetradic
#F0D35C #5CF089 #5C79F0 #F05CC3
square
#F0D35C #5CF089 #5C79F0 #F05CC3
split-complementary
#F0D35C #5CC3F0 #895CF0
monochromatic
#C09E12 #EBC424 #F0D35C #F5E294 #FAF1CC

Accessibility & contrast

On white

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

On black

14.18
#F0D35C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D35C
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D35C#FFFFFF#000000##000000
##F0D35C1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d35c;
/* rgb */ color: rgb(240, 211, 92);
/* oklch */ color: oklch(86.9% 0.141 95.6);
Tailwind
colors: {
  custom: {
    50: '#f8e08f',
    500: '#f0d35c',
    950: '#000000',
  },
}
SCSS
$custom: #f0d35c;
$custom-light: #f8e08f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d35c",
  "rgb": {
    "r": 240,
    "g": 211,
    "b": 92
  },
  "hsl": {
    "h": 48.243,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86906,
    "c": 0.14061,
    "h": 95.6
  },
  "luminance": 0.65887
}

Semantic roles & 50–950 ramp

primary
#F0D35C
secondary
#324EBE
accent
#31E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D35C

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

Preview Lab → · Contrast checker → · Palette generator →

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