#F0D375#F0D375

#F0D375 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 87.2% C 0.119 H 92.7°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#F0D375
RGBrgb(240, 211, 117)
HSLhsl(46, 80%, 70%)
HSVhsv(46, 51%, 94%)
CMYKcmyk(0%, 12.1%, 51.3%, 5.9%)
CIE-LABlab(85.20, -1.55, 49.84)
CIE-LCHlch(85.20, 49.87, 91.78°)
OKLaboklab(87.2% -0.0055 0.1184)
OKLCHoklch(87.2% 0.119 92.7)
XYZxyz(62.4426, 66.4009, 26.3537)
Luminance0.6640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D375 #7592F0
analogous
#F09675 #F0D375 #CFF075
triadic
#F0D375 #75F0D3 #D375F0
tetradic
#F0D375 #75F096 #7592F0 #F075CF
square
#F0D375 #75F096 #7592F0 #F075CF
split-complementary
#F0D375 #75CFF0 #9675F0
monochromatic
#D4A717 #EAC13E #F0D375 #F6E5AC #FCF6E3

Accessibility & contrast

On white

1.47
#F0D375 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#F0D375 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D375
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D375#FFFFFF#000000##000000
##F0D3751.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06D
Deuteranopia (green-blind)
#ECD979
Tritanopia (blue-blind)
#FFC6BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d375;
/* rgb */ color: rgb(240, 211, 117);
/* oklch */ color: oklch(87.2% 0.119 92.7);
Tailwind
colors: {
  custom: {
    50: '#f7e09f',
    500: '#f0d375',
    950: '#000000',
  },
}
SCSS
$custom: #f0d375;
$custom-light: #f7e09f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d375",
  "rgb": {
    "r": 240,
    "g": 211,
    "b": 117
  },
  "hsl": {
    "h": 45.854,
    "s": 80.392,
    "l": 70
  },
  "oklch": {
    "l": 0.87196,
    "c": 0.11853,
    "h": 92.7
  },
  "luminance": 0.66398
}

Semantic roles & 50–950 ramp

primary
#F0D375
secondary
#4060C9
accent
#3BDD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0D375

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

Preview Lab → · Contrast checker → · Palette generator →

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