#F0D673#F0D673

#F0D673 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.8% C 0.123 H 95.0°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#F0D673
RGBrgb(240, 214, 115)
HSLhsl(48, 81%, 70%)
HSVhsv(48, 52%, 94%)
CMYKcmyk(0%, 10.8%, 52.1%, 5.9%)
CIE-LABlab(85.94, -3.25, 51.68)
CIE-LCHlch(85.94, 51.79, 93.59°)
OKLaboklab(87.77% -0.0106 0.1223)
OKLCHoklch(87.77% 0.123 95)
XYZxyz(63.0785, 67.8589, 25.9918)
Luminance0.6786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D673 #738DF0
analogous
#F09873 #F0D673 #CCF073
triadic
#F0D673 #73F0D6 #D673F0
tetradic
#F0D673 #73F098 #738DF0 #F073CC
square
#F0D673 #73F098 #738DF0 #F073CC
split-complementary
#F0D673 #73CCF0 #9873F0
monochromatic
#D2AB17 #EAC63C #F0D673 #F6E6AA #FCF6E2

Accessibility & contrast

On white

1.44
#F0D673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#F0D673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D673
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D673#FFFFFF#000000##000000
##F0D6731.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D26A
Deuteranopia (green-blind)
#EFDA77
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d673;
/* rgb */ color: rgb(240, 214, 115);
/* oklch */ color: oklch(87.8% 0.123 95.0);
Tailwind
colors: {
  custom: {
    50: '#f7e29d',
    500: '#f0d673',
    950: '#000000',
  },
}
SCSS
$custom: #f0d673;
$custom-light: #f7e29d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d673",
  "rgb": {
    "r": 240,
    "g": 214,
    "b": 115
  },
  "hsl": {
    "h": 47.52,
    "s": 80.645,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87769,
    "c": 0.12273,
    "h": 95
  },
  "luminance": 0.67856
}

Semantic roles & 50–950 ramp

primary
#F0D673
secondary
#3E5BC9
accent
#35DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #F0D673

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

Preview Lab → · Contrast checker → · Palette generator →

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