#F0D273#F0D273

#F0D273 is a very light, moderate yellow. Relative luminance 0.659; OKLCH L 87.0% C 0.120 H 92.3°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#F0D273
RGBrgb(240, 210, 115)
HSLhsl(46, 81%, 70%)
HSVhsv(46, 52%, 94%)
CMYKcmyk(0%, 12.5%, 52.1%, 5.9%)
CIE-LABlab(84.92, -1.20, 50.47)
CIE-LCHlch(84.92, 50.49, 91.37°)
OKLaboklab(86.97% -0.0047 0.1196)
OKLCHoklch(86.97% 0.12 92.3)
XYZxyz(62.0786, 65.8591, 25.6585)
Luminance0.6586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D273 #7391F0
analogous
#F09473 #F0D273 #D0F073
triadic
#F0D273 #73F0D2 #D273F0
tetradic
#F0D273 #73F094 #7391F0 #F073D0
square
#F0D273 #73F094 #7391F0 #F073D0
split-complementary
#F0D273 #73D0F0 #9473F0
monochromatic
#D2A517 #EAC03C #F0D273 #F6E4AA #FCF6E2

Accessibility & contrast

On white

1.48
#F0D273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#F0D273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D273
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D273#FFFFFF#000000##000000
##F0D2731.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF6B
Deuteranopia (green-blind)
#ECD877
Tritanopia (blue-blind)
#FFC5BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f0d273;
/* rgb */ color: rgb(240, 210, 115);
/* oklch */ color: oklch(87.0% 0.120 92.3);
Tailwind
colors: {
  custom: {
    50: '#f7df9d',
    500: '#f0d273',
    950: '#000000',
  },
}
SCSS
$custom: #f0d273;
$custom-light: #f7df9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d273",
  "rgb": {
    "r": 240,
    "g": 210,
    "b": 115
  },
  "hsl": {
    "h": 45.6,
    "s": 80.645,
    "l": 69.608
  },
  "oklch": {
    "l": 0.8697,
    "c": 0.11971,
    "h": 92.3
  },
  "luminance": 0.65856
}

Semantic roles & 50–950 ramp

primary
#F0D273
secondary
#3E5FC9
accent
#3CDD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D273

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

Preview Lab → · Contrast checker → · Palette generator →

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