#F0D25F#F0D25F

#F0D25F is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.7% C 0.137 H 94.7°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#F0D25F
RGBrgb(240, 210, 95)
HSLhsl(48, 83%, 66%)
HSVhsv(48, 60%, 94%)
CMYKcmyk(0%, 12.5%, 60.4%, 5.9%)
CIE-LABlab(84.71, -2.71, 59.50)
CIE-LCHlch(84.71, 59.56, 92.60°)
OKLaboklab(86.74% -0.0114 0.137)
OKLCHoklch(86.74% 0.137 94.7)
XYZxyz(61.0500, 65.4477, 20.2412)
Luminance0.6544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D25F #5F7DF0
analogous
#F0895F #F0D25F #C5F05F
triadic
#F0D25F #5FF0D2 #D25FF0
tetradic
#F0D25F #5FF089 #5F7DF0 #F05FC5
square
#F0D25F #5FF089 #5F7DF0 #F05FC5
split-complementary
#F0D25F #5FC5F0 #895FF0
monochromatic
#C29E12 #EBC227 #F0D25F #F5E297 #FAF1CF

Accessibility & contrast

On white

1.49
#F0D25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#F0D25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D25F
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D25F#FFFFFF#000000##000000
##F0D25F1.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE53
Deuteranopia (green-blind)
#EDD764
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d25f;
/* rgb */ color: rgb(240, 210, 95);
/* oklch */ color: oklch(86.7% 0.137 94.7);
Tailwind
colors: {
  custom: {
    50: '#f8df90',
    500: '#f0d25f',
    950: '#000000',
  },
}
SCSS
$custom: #f0d25f;
$custom-light: #f8df90;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d25f",
  "rgb": {
    "r": 240,
    "g": 210,
    "b": 95
  },
  "hsl": {
    "h": 47.586,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86736,
    "c": 0.13746,
    "h": 94.7
  },
  "luminance": 0.65445
}

Semantic roles & 50–950 ramp

primary
#F0D25F
secondary
#3350C0
accent
#33DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D25F

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

Preview Lab → · Contrast checker → · Palette generator →

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