#F0D25A#F0D25A

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

Color values

HEX#F0D25A
RGBrgb(240, 210, 90)
HSLhsl(48, 83%, 65%)
HSVhsv(48, 63%, 94%)
CMYKcmyk(0%, 12.5%, 62.5%, 5.9%)
CIE-LABlab(84.67, -3.03, 61.64)
CIE-LCHlch(84.67, 61.72, 92.81°)
OKLaboklab(86.69% -0.0129 0.1409)
OKLCHoklch(86.69% 0.141 95.2)
XYZxyz(60.8300, 65.3597, 19.0824)
Luminance0.6536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D25A #5A78F0
analogous
#F0875A #F0D25A #C3F05A
triadic
#F0D25A #5AF0D2 #D25AF0
tetradic
#F0D25A #5AF087 #5A78F0 #F05AC3
square
#F0D25A #5AF087 #5A78F0 #F05AC3
split-complementary
#F0D25A #5AC3F0 #875AF0
monochromatic
#BE9C11 #EBC322 #F0D25A #F5E192 #FAF1CA

Accessibility & contrast

On white

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

On black

14.07
#F0D25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D25A
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D25A#FFFFFF#000000##000000
##F0D25A1.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4C
Deuteranopia (green-blind)
#EED760
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d25a;
/* rgb */ color: rgb(240, 210, 90);
/* oklch */ color: oklch(86.7% 0.141 95.2);
Tailwind
colors: {
  custom: {
    50: '#f8df8d',
    500: '#f0d25a',
    950: '#000000',
  },
}
SCSS
$custom: #f0d25a;
$custom-light: #f8df8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d25a",
  "rgb": {
    "r": 240,
    "g": 210,
    "b": 90
  },
  "hsl": {
    "h": 48,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86686,
    "c": 0.14147,
    "h": 95.2
  },
  "luminance": 0.65357
}

Semantic roles & 50–950 ramp

primary
#F0D25A
secondary
#324DBD
accent
#31E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D25A

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

Preview Lab → · Contrast checker → · Palette generator →

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