#F8D25D#F8D25D

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

Color values

HEX#F8D25D
RGBrgb(248, 210, 93)
HSLhsl(45, 92%, 67%)
HSVhsv(45, 63%, 97%)
CMYKcmyk(0%, 15.3%, 62.5%, 2.7%)
CIE-LABlab(85.42, 0.47, 61.37)
CIE-LCHlch(85.42, 61.38, 89.56°)
OKLaboklab(87.46% -0.0029 0.1405)
OKLCHoklch(87.46% 0.141 91.2)
XYZxyz(63.7368, 66.8434, 19.8987)
Luminance0.6684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D25D #5D83F8
analogous
#F8855D #F8D25D #D1F85D
triadic
#F8D25D #5DF8D2 #D25DF8
tetradic
#F8D25D #5DF885 #5D83F8 #F85DD1
square
#F8D25D #5DF885 #5D83F8 #F85DD1
split-complementary
#F8D25D #5DD1F8 #855DF8
monochromatic
#D2A009 #F5C222 #F8D25D #FBE298 #FDF3D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D25D#FFFFFF#000000##000000
##F8D25D1.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)
#E7CF50
Deuteranopia (green-blind)
#F0DA62
Tritanopia (blue-blind)
#FFC2B9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f8d25d;
/* rgb */ color: rgb(248, 210, 93);
/* oklch */ color: oklch(87.5% 0.141 91.2);
Tailwind
colors: {
  custom: {
    50: '#fedf8f',
    500: '#f8d25d',
    950: '#000000',
  },
}
SCSS
$custom: #f8d25d;
$custom-light: #fedf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d25d",
  "rgb": {
    "r": 248,
    "g": 210,
    "b": 93
  },
  "hsl": {
    "h": 45.29,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87462,
    "c": 0.14054,
    "h": 91.2
  },
  "luminance": 0.6684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D25D

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

Preview Lab → · Contrast checker → · Palette generator →

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