#F0DC5D#F0DC5D

#F0DC5D is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.7% C 0.147 H 100.4°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#F0DC5D
RGBrgb(240, 220, 93)
HSLhsl(52, 83%, 65%)
HSVhsv(52, 61%, 94%)
CMYKcmyk(0%, 8.3%, 61.2%, 5.9%)
CIE-LABlab(87.24, -7.90, 63.16)
CIE-LCHlch(87.24, 63.65, 97.13°)
OKLaboklab(88.73% -0.0265 0.1445)
OKLCHoklch(88.73% 0.147 100.4)
XYZxyz(63.5067, 70.5046, 20.6174)
Luminance0.7050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC5D #5D71F0
analogous
#F0935D #F0DC5D #BAF05D
triadic
#F0DC5D #5DF0DC #DC5DF0
tetradic
#F0DC5D #5DF093 #5D71F0 #F05DBA
square
#F0DC5D #5DF093 #5D71F0 #F05DBA
split-complementary
#F0DC5D #5DBAF0 #935DF0
monochromatic
#C1A912 #EBD025 #F0DC5D #F5E895 #FAF4CD

Accessibility & contrast

On white

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

On black

15.10
#F0DC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC5D
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC5D#FFFFFF#000000##000000
##F0DC5D1.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64F
Deuteranopia (green-blind)
#F5DE64
Tritanopia (blue-blind)
#FFCEC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dc5d;
/* rgb */ color: rgb(240, 220, 93);
/* oklch */ color: oklch(88.7% 0.147 100.4);
Tailwind
colors: {
  custom: {
    50: '#f8e690',
    500: '#f0dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc5d;
$custom-light: #f8e690;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc5d",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 51.837,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.88734,
    "c": 0.14693,
    "h": 100.4
  },
  "luminance": 0.70502
}

Semantic roles & 50–950 ramp

primary
#F0DC5D
secondary
#3246BF
accent
#24DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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