#F0E670#F0E670

#F0E670 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.0% C 0.140 H 104.4°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#F0E670
RGBrgb(240, 230, 112)
HSLhsl(55, 81%, 69%)
HSVhsv(55, 53%, 94%)
CMYKcmyk(0%, 4.2%, 53.3%, 5.9%)
CIE-LABlab(89.99, -11.53, 57.86)
CIE-LCHlch(89.99, 58.99, 101.27°)
OKLaboklab(90.98% -0.0348 0.1354)
OKLCHoklch(90.98% 0.14 104.4)
XYZxyz(67.1586, 76.2909, 26.5140)
Luminance0.7629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E670 #707AF0
analogous
#F0A670 #F0E670 #BAF070
triadic
#F0E670 #70F0E6 #E670F0
tetradic
#F0E670 #70F0A6 #707AF0 #F070BA
square
#F0E670 #70F0A6 #707AF0 #F070BA
split-complementary
#F0E670 #70BAF0 #A670F0
monochromatic
#D0C116 #EADC39 #F0E670 #F6F0A7 #FCF9DF

Accessibility & contrast

On white

1.29
#F0E670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.26
#F0E670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E670
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E670#FFFFFF#000000##000000
##F0E6701.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF65
Deuteranopia (green-blind)
#FBE576
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f0e670;
/* rgb */ color: rgb(240, 230, 112);
/* oklch */ color: oklch(91.0% 0.140 104.4);
Tailwind
colors: {
  custom: {
    50: '#f7ed9c',
    500: '#f0e670',
    950: '#000000',
  },
}
SCSS
$custom: #f0e670;
$custom-light: #f7ed9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e670",
  "rgb": {
    "r": 240,
    "g": 230,
    "b": 112
  },
  "hsl": {
    "h": 55.313,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90976,
    "c": 0.1398,
    "h": 104.4
  },
  "luminance": 0.76289
}

Semantic roles & 50–950 ramp

primary
#F0E670
secondary
#3B46C9
accent
#19DD08
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E670

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

Preview Lab → · Contrast checker → · Palette generator →

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