#F0F066#F0F066

#F0F066 is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 92.9% C 0.159 H 109.1°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#F0F066
RGBrgb(240, 240, 102)
HSLhsl(60, 82%, 67%)
HSVhsv(60, 58%, 94%)
CMYKcmyk(0%, 0%, 57.5%, 5.9%)
CIE-LABlab(92.49, -17.18, 65.08)
CIE-LCHlch(92.49, 67.31, 104.79°)
OKLaboklab(92.93% -0.0519 0.1498)
OKLCHoklch(92.93% 0.159 109.1)
XYZxyz(69.4955, 81.8066, 24.6972)
Luminance0.8181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F066 #6666F0
analogous
#F0AB66 #F0F066 #ABF066
triadic
#F0F066 #66F0F0 #F066F0
tetradic
#F0F066 #66F0AB #6666F0 #F066AB
square
#F0F066 #66F0AB #6666F0 #F066AB
split-complementary
#F0F066 #66ABF0 #AB66F0
monochromatic
#C8C814 #EBEB2E #F0F066 #F5F59E #FBFBD5

Accessibility & contrast

On white

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

On black

17.36
#F0F066 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F066
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F066#FFFFFF#000000##000000
##F0F0661.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE757
Deuteranopia (green-blind)
#FFEC6E
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f0f066;
/* rgb */ color: rgb(240, 240, 102);
/* oklch */ color: oklch(92.9% 0.159 109.1);
Tailwind
colors: {
  custom: {
    50: '#f8f497',
    500: '#f0f066',
    950: '#000000',
  },
}
SCSS
$custom: #f0f066;
$custom-light: #f8f497;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f066",
  "rgb": {
    "r": 240,
    "g": 240,
    "b": 102
  },
  "hsl": {
    "h": 60,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.92932,
    "c": 0.15851,
    "h": 109.1
  },
  "luminance": 0.81805
}

Semantic roles & 50–950 ramp

primary
#F0F066
secondary
#3535C5
accent
#07DF07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F066

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

Preview Lab → · Contrast checker → · Palette generator →

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