#F0D33F#F0D33F

#F0D33F is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.7% C 0.160 H 97.6°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#F0D33F
RGBrgb(240, 211, 63)
HSLhsl(50, 86%, 59%)
HSVhsv(50, 74%, 94%)
CMYKcmyk(0%, 12.1%, 73.8%, 5.9%)
CIE-LABlab(84.73, -4.95, 72.31)
CIE-LCHlch(84.73, 72.48, 93.91°)
OKLaboklab(86.67% -0.0213 0.159)
OKLCHoklch(86.67% 0.16 97.6)
XYZxyz(60.1297, 65.4758, 14.1726)
Luminance0.6547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D33F #3F5CF0
analogous
#F07A3F #F0D33F #B5F03F
triadic
#F0D33F #3FF0D3 #D33FF0
tetradic
#F0D33F #3FF07A #3F5CF0 #F03FB5
square
#F0D33F #3FF07A #3F5CF0 #F03FB5
split-complementary
#F0D33F #3FB5F0 #7A3FF0
monochromatic
#A88E0D #E0BE12 #F0D33F #F4E078 #F9EDB1

Accessibility & contrast

On white

1.49
#F0D33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#F0D33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D33F
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D33F#FFFFFF#000000##000000
##F0D33F1.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE24
Deuteranopia (green-blind)
#F0D849
Tritanopia (blue-blind)
#FFC3B6
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d33f;
/* rgb */ color: rgb(240, 211, 63);
/* oklch */ color: oklch(86.7% 0.160 97.6);
Tailwind
colors: {
  custom: {
    50: '#f9e07e',
    500: '#f0d33f',
    950: '#000000',
  },
}
SCSS
$custom: #f0d33f;
$custom-light: #f9e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d33f",
  "rgb": {
    "r": 240,
    "g": 211,
    "b": 63
  },
  "hsl": {
    "h": 50.169,
    "s": 85.507,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86671,
    "c": 0.16043,
    "h": 97.6
  },
  "luminance": 0.65473
}

Semantic roles & 50–950 ramp

primary
#F0D33F
secondary
#2A3FA9
accent
#4EFC2C
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #F0D33F

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

Preview Lab → · Contrast checker → · Palette generator →

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