#F0DB73#F0DB73

#F0DB73 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.8% C 0.127 H 98.1°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#F0DB73
RGBrgb(240, 219, 115)
HSLhsl(50, 81%, 70%)
HSVhsv(50, 52%, 94%)
CMYKcmyk(0%, 8.8%, 52.1%, 5.9%)
CIE-LABlab(87.21, -5.78, 53.20)
CIE-LCHlch(87.21, 53.51, 96.20°)
OKLaboklab(88.78% -0.018 0.1256)
OKLCHoklch(88.78% 0.127 98.1)
XYZxyz(64.3634, 70.4286, 26.4201)
Luminance0.7043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB73 #7388F0
analogous
#F09D73 #F0DB73 #C7F073
triadic
#F0DB73 #73F0DB #DB73F0
tetradic
#F0DB73 #73F09D #7388F0 #F073C7
square
#F0DB73 #73F09D #7388F0 #F073C7
split-complementary
#F0DB73 #73C7F0 #9D73F0
monochromatic
#D2B317 #EACD3C #F0DB73 #F6E9AA #FCF7E2

Accessibility & contrast

On white

1.39
#F0DB73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#F0DB73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB73
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB73#FFFFFF#000000##000000
##F0DB731.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD66A
Deuteranopia (green-blind)
#F2DE78
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0db73;
/* rgb */ color: rgb(240, 219, 115);
/* oklch */ color: oklch(88.8% 0.127 98.1);
Tailwind
colors: {
  custom: {
    50: '#f7e59e',
    500: '#f0db73',
    950: '#000000',
  },
}
SCSS
$custom: #f0db73;
$custom-light: #f7e59e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db73",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 115
  },
  "hsl": {
    "h": 49.92,
    "s": 80.645,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88775,
    "c": 0.12686,
    "h": 98.1
  },
  "luminance": 0.70426
}

Semantic roles & 50–950 ramp

primary
#F0DB73
secondary
#3E55C9
accent
#2CDD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #F0DB73

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

Preview Lab → · Contrast checker → · Palette generator →

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