#F0E65F#F0E65F

#F0E65F is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.8% C 0.154 H 105.1°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#F0E65F
RGBrgb(240, 230, 95)
HSLhsl(56, 83%, 66%)
HSVhsv(56, 60%, 94%)
CMYKcmyk(0%, 4.2%, 60.4%, 5.9%)
CIE-LABlab(89.83, -12.75, 65.13)
CIE-LCHlch(89.83, 66.37, 101.08°)
OKLaboklab(90.8% -0.0401 0.149)
OKLCHoklch(90.8% 0.154 105.1)
XYZxyz(66.2999, 75.9474, 21.9912)
Luminance0.7594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E65F #5F69F0
analogous
#F09D5F #F0E65F #B1F05F
triadic
#F0E65F #5FF0E6 #E65FF0
tetradic
#F0E65F #5FF09D #5F69F0 #F05FB1
square
#F0E65F #5FF09D #5F69F0 #F05FB1
split-complementary
#F0E65F #5FB1F0 #9D5FF0
monochromatic
#C2B612 #EBDD27 #F0E65F #F5EF97 #FAF7CF

Accessibility & contrast

On white

1.30
#F0E65F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#F0E65F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E65F
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E65F#FFFFFF#000000##000000
##F0E65F1.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE4F
Deuteranopia (green-blind)
#FCE567
Tritanopia (blue-blind)
#FFD8C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f0e65f;
/* rgb */ color: rgb(240, 230, 95);
/* oklch */ color: oklch(90.8% 0.154 105.1);
Tailwind
colors: {
  custom: {
    50: '#f8ed92',
    500: '#f0e65f',
    950: '#000000',
  },
}
SCSS
$custom: #f0e65f;
$custom-light: #f8ed92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e65f",
  "rgb": {
    "r": 240,
    "g": 230,
    "b": 95
  },
  "hsl": {
    "h": 55.862,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.90798,
    "c": 0.15427,
    "h": 105.1
  },
  "luminance": 0.75945
}

Semantic roles & 50–950 ramp

primary
#F0E65F
secondary
#333DC0
accent
#15DF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E65F

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

Preview Lab → · Contrast checker → · Palette generator →

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