#F0F05E#F0F05E

#F0F05E is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.9% C 0.165 H 109.2°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#F0F05E
RGBrgb(240, 240, 94)
HSLhsl(60, 83%, 65%)
HSVhsv(60, 61%, 94%)
CMYKcmyk(0%, 0%, 60.8%, 5.9%)
CIE-LABlab(92.42, -17.71, 68.33)
CIE-LCHlch(92.42, 70.59, 104.53°)
OKLaboklab(92.86% -0.0543 0.1556)
OKLCHoklch(92.86% 0.165 109.2)
XYZxyz(69.1178, 81.6555, 22.7077)
Luminance0.8165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F05E #5E5EF0
analogous
#F0A75E #F0F05E #A7F05E
triadic
#F0F05E #5EF0F0 #F05EF0
tetradic
#F0F05E #5EF0A7 #5E5EF0 #F05EA7
square
#F0F05E #5EF0A7 #5E5EF0 #F05EA7
split-complementary
#F0F05E #5EA7F0 #A75EF0
monochromatic
#C2C212 #EBEB26 #F0F05E #F5F596 #FAFACE

Accessibility & contrast

On white

1.21
#F0F05E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.33
#F0F05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F05E
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F05E#FFFFFF#000000##000000
##F0F05E1.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE74C
Deuteranopia (green-blind)
#FFEC67
Tritanopia (blue-blind)
#FFE2D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f0f05e;
/* rgb */ color: rgb(240, 240, 94);
/* oklch */ color: oklch(92.9% 0.165 109.2);
Tailwind
colors: {
  custom: {
    50: '#f8f492',
    500: '#f0f05e',
    950: '#000000',
  },
}
SCSS
$custom: #f0f05e;
$custom-light: #f8f492;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f05e",
  "rgb": {
    "r": 240,
    "g": 240,
    "b": 94
  },
  "hsl": {
    "h": 60,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.92857,
    "c": 0.16481,
    "h": 109.2
  },
  "luminance": 0.81654
}

Semantic roles & 50–950 ramp

primary
#F0F05E
secondary
#3333BF
accent
#06DF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F05E

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

Preview Lab → · Contrast checker → · Palette generator →

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