#F0E75D#F0E75D

#F0E75D is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.0% C 0.157 H 105.6°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#F0E75D
RGBrgb(240, 231, 93)
HSLhsl(56, 83%, 65%)
HSVhsv(56, 61%, 94%)
CMYKcmyk(0%, 3.7%, 61.2%, 5.9%)
CIE-LABlab(90.08, -13.37, 66.23)
CIE-LCHlch(90.08, 67.56, 101.42°)
OKLaboklab(90.99% -0.0421 0.151)
OKLCHoklch(90.99% 0.157 105.6)
XYZxyz(66.4892, 76.4697, 21.6115)
Luminance0.7647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E75D #5D66F0
analogous
#F09E5D #F0E75D #AFF05D
triadic
#F0E75D #5DF0E7 #E75DF0
tetradic
#F0E75D #5DF09E #5D66F0 #F05DAF
square
#F0E75D #5DF09E #5D66F0 #F05DAF
split-complementary
#F0E75D #5DAFF0 #9E5DF0
monochromatic
#C1B612 #EBDF25 #F0E75D #F5EF95 #FAF8CD

Accessibility & contrast

On white

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

On black

16.29
#F0E75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E75D
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E75D#FFFFFF#000000##000000
##F0E75D1.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4D
Deuteranopia (green-blind)
#FDE565
Tritanopia (blue-blind)
#FFD9CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f0e75d;
/* rgb */ color: rgb(240, 231, 93);
/* oklch */ color: oklch(91.0% 0.157 105.6);
Tailwind
colors: {
  custom: {
    50: '#f8ee90',
    500: '#f0e75d',
    950: '#000000',
  },
}
SCSS
$custom: #f0e75d;
$custom-light: #f8ee90;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e75d",
  "rgb": {
    "r": 240,
    "g": 231,
    "b": 93
  },
  "hsl": {
    "h": 56.327,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.90985,
    "c": 0.15677,
    "h": 105.6
  },
  "luminance": 0.76467
}

Semantic roles & 50–950 ramp

primary
#F0E75D
secondary
#323BBF
accent
#13DF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E75D

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

Preview Lab → · Contrast checker → · Palette generator →

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