#F0F06B#F0F06B

#F0F06B is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.0% C 0.154 H 109.1°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#F0F06B
RGBrgb(240, 240, 107)
HSLhsl(60, 82%, 68%)
HSVhsv(60, 55%, 94%)
CMYKcmyk(0%, 0%, 55.4%, 5.9%)
CIE-LABlab(92.53, -16.82, 62.98)
CIE-LCHlch(92.53, 65.19, 104.96°)
OKLaboklab(92.98% -0.0504 0.1459)
OKLCHoklch(92.98% 0.154 109.1)
XYZxyz(69.7510, 81.9088, 26.0428)
Luminance0.8191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F06B #6B6BF0
analogous
#F0AD6B #F0F06B #ADF06B
triadic
#F0F06B #6BF0F0 #F06BF0
tetradic
#F0F06B #6BF0AD #6B6BF0 #F06BAD
square
#F0F06B #6BF0AD #6B6BF0 #F06BAD
split-complementary
#F0F06B #6BADF0 #AD6BF0
monochromatic
#CCCC15 #EAEA33 #F0F06B #F6F6A3 #FBFBDA

Accessibility & contrast

On white

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

On black

17.38
#F0F06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F06B
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F06B#FFFFFF#000000##000000
##F0F06B1.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0f06b;
/* rgb */ color: rgb(240, 240, 107);
/* oklch */ color: oklch(93.0% 0.154 109.1);
Tailwind
colors: {
  custom: {
    50: '#f8f49a',
    500: '#f0f06b',
    950: '#000000',
  },
}
SCSS
$custom: #f0f06b;
$custom-light: #f8f49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f06b",
  "rgb": {
    "r": 240,
    "g": 240,
    "b": 107
  },
  "hsl": {
    "h": 60,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92982,
    "c": 0.15434,
    "h": 109.1
  },
  "luminance": 0.81907
}

Semantic roles & 50–950 ramp

primary
#F0F06B
secondary
#3737C8
accent
#08DE08
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F06B

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

Preview Lab → · Contrast checker → · Palette generator →

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