#F8D25E#F8D25E

#F8D25E is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.5% C 0.140 H 91.1°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#F8D25E
RGBrgb(248, 210, 94)
HSLhsl(45, 92%, 67%)
HSVhsv(45, 62%, 97%)
CMYKcmyk(0%, 15.3%, 62.1%, 2.7%)
CIE-LABlab(85.43, 0.53, 60.94)
CIE-LCHlch(85.43, 60.95, 89.50°)
OKLaboklab(87.47% -0.0026 0.1397)
OKLCHoklch(87.47% 0.14 91.1)
XYZxyz(63.7814, 66.8613, 20.1335)
Luminance0.6686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D25E #5E84F8
analogous
#F8855E #F8D25E #D1F85E
triadic
#F8D25E #5EF8D2 #D25EF8
tetradic
#F8D25E #5EF885 #5E84F8 #F85ED1
square
#F8D25E #5EF885 #5E84F8 #F85ED1
split-complementary
#F8D25E #5ED1F8 #855EF8
monochromatic
#D2A109 #F5C223 #F8D25E #FBE299 #FDF3D3

Accessibility & contrast

On white

1.46
#F8D25E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#F8D25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D25E
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D25E#FFFFFF#000000##000000
##F8D25E1.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF51
Deuteranopia (green-blind)
#F0DA63
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f8d25e;
/* rgb */ color: rgb(248, 210, 94);
/* oklch */ color: oklch(87.5% 0.140 91.1);
Tailwind
colors: {
  custom: {
    50: '#fedf90',
    500: '#f8d25e',
    950: '#000000',
  },
}
SCSS
$custom: #f8d25e;
$custom-light: #fedf90;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d25e",
  "rgb": {
    "r": 248,
    "g": 210,
    "b": 94
  },
  "hsl": {
    "h": 45.195,
    "s": 91.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87472,
    "c": 0.13975,
    "h": 91.1
  },
  "luminance": 0.66858
}

Semantic roles & 50–950 ramp

primary
#F8D25E
secondary
#2D54CD
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D25E

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

Preview Lab → · Contrast checker → · Palette generator →

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