#F0D775#F0D775

#F0D775 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.0% C 0.122 H 95.4°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#F0D775
RGBrgb(240, 215, 117)
HSLhsl(48, 80%, 70%)
HSVhsv(48, 51%, 94%)
CMYKcmyk(0%, 10.4%, 51.3%, 5.9%)
CIE-LABlab(86.21, -3.59, 51.06)
CIE-LCHlch(86.21, 51.19, 94.02°)
OKLaboklab(88% -0.0114 0.1211)
OKLCHoklch(88% 0.122 95.4)
XYZxyz(63.4487, 68.4132, 26.6891)
Luminance0.6841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D775 #758EF0
analogous
#F09A75 #F0D775 #CBF075
triadic
#F0D775 #75F0D7 #D775F0
tetradic
#F0D775 #75F09A #758EF0 #F075CB
square
#F0D775 #75F09A #758EF0 #F075CB
split-complementary
#F0D775 #75CBF0 #9A75F0
monochromatic
#D4AD17 #EAC73E #F0D775 #F6E7AC #FCF7E3

Accessibility & contrast

On white

1.43
#F0D775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.68
#F0D775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D775
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D775#FFFFFF#000000##000000
##F0D7751.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D36C
Deuteranopia (green-blind)
#EFDB79
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f0d775;
/* rgb */ color: rgb(240, 215, 117);
/* oklch */ color: oklch(88.0% 0.122 95.4);
Tailwind
colors: {
  custom: {
    50: '#f7e39f',
    500: '#f0d775',
    950: '#000000',
  },
}
SCSS
$custom: #f0d775;
$custom-light: #f7e39f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d775",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 117
  },
  "hsl": {
    "h": 47.805,
    "s": 80.392,
    "l": 70
  },
  "oklch": {
    "l": 0.87995,
    "c": 0.12162,
    "h": 95.4
  },
  "luminance": 0.6841
}

Semantic roles & 50–950 ramp

primary
#F0D775
secondary
#405CC9
accent
#34DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0D775

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

Preview Lab → · Contrast checker → · Palette generator →

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