#F0D25B#F0D25B

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

Color values

HEX#F0D25B
RGBrgb(240, 210, 91)
HSLhsl(48, 83%, 65%)
HSVhsv(48, 62%, 94%)
CMYKcmyk(0%, 12.5%, 62.1%, 5.9%)
CIE-LABlab(84.68, -2.97, 61.22)
CIE-LCHlch(84.68, 61.29, 92.77°)
OKLaboklab(86.7% -0.0126 0.1401)
OKLCHoklch(86.7% 0.141 95.1)
XYZxyz(60.8728, 65.3768, 19.3081)
Luminance0.6537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D25B #5B79F0
analogous
#F0875B #F0D25B #C4F05B
triadic
#F0D25B #5BF0D2 #D25BF0
tetradic
#F0D25B #5BF087 #5B79F0 #F05BC4
square
#F0D25B #5BF087 #5B79F0 #F05BC4
split-complementary
#F0D25B #5BC4F0 #875BF0
monochromatic
#BF9C11 #EBC323 #F0D25B #F5E193 #FAF1CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0D25B#FFFFFF#000000##000000
##F0D25B1.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)
#E6CE4E
Deuteranopia (green-blind)
#EDD761
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d25b;
/* rgb */ color: rgb(240, 210, 91);
/* oklch */ color: oklch(86.7% 0.141 95.1);
Tailwind
colors: {
  custom: {
    50: '#f8df8e',
    500: '#f0d25b',
    950: '#000000',
  },
}
SCSS
$custom: #f0d25b;
$custom-light: #f8df8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d25b",
  "rgb": {
    "r": 240,
    "g": 210,
    "b": 91
  },
  "hsl": {
    "h": 47.919,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86695,
    "c": 0.14068,
    "h": 95.1
  },
  "luminance": 0.65374
}

Semantic roles & 50–950 ramp

primary
#F0D25B
secondary
#324EBD
accent
#32E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D25B

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

Preview Lab → · Contrast checker → · Palette generator →

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