#F0F06F#F0F06F

#F0F06F is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.0% C 0.151 H 109.0°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#F0F06F
RGBrgb(240, 240, 111)
HSLhsl(60, 81%, 69%)
HSVhsv(60, 54%, 94%)
CMYKcmyk(0%, 0%, 53.8%, 5.9%)
CIE-LABlab(92.57, -16.52, 61.27)
CIE-LCHlch(92.57, 63.46, 105.09°)
OKLaboklab(93.03% -0.0491 0.1427)
OKLCHoklch(93.03% 0.151 109)
XYZxyz(69.9663, 81.9949, 27.1768)
Luminance0.8199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F06F #6F6FF0
analogous
#F0B06F #F0F06F #B0F06F
triadic
#F0F06F #6FF0F0 #F06FF0
tetradic
#F0F06F #6FF0B0 #6F6FF0 #F06FB0
square
#F0F06F #6FF0B0 #6F6FF0 #F06FB0
split-complementary
#F0F06F #6FB0F0 #B06FF0
monochromatic
#CFCF16 #EAEA38 #F0F06F #F6F6A6 #FCFCDE

Accessibility & contrast

On white

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

On black

17.40
#F0F06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F06F
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F06F#FFFFFF#000000##000000
##F0F06F1.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE762
Deuteranopia (green-blind)
#FFEC76
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f0f06f;
/* rgb */ color: rgb(240, 240, 111);
/* oklch */ color: oklch(93.0% 0.151 109.0);
Tailwind
colors: {
  custom: {
    50: '#f7f49c',
    500: '#f0f06f',
    950: '#000000',
  },
}
SCSS
$custom: #f0f06f;
$custom-light: #f7f49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f06f",
  "rgb": {
    "r": 240,
    "g": 240,
    "b": 111
  },
  "hsl": {
    "h": 60,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93025,
    "c": 0.15088,
    "h": 109
  },
  "luminance": 0.81993
}

Semantic roles & 50–950 ramp

primary
#F0F06F
secondary
#3A3AC9
accent
#08DD08
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F06F

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

Preview Lab → · Contrast checker → · Palette generator →

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