#F8D25F#F8D25F

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

Color values

HEX#F8D25F
RGBrgb(248, 210, 95)
HSLhsl(45, 92%, 67%)
HSVhsv(45, 62%, 97%)
CMYKcmyk(0%, 15.3%, 61.7%, 2.7%)
CIE-LABlab(85.44, 0.59, 60.51)
CIE-LCHlch(85.44, 60.52, 89.44°)
OKLaboklab(87.48% -0.0023 0.139)
OKLCHoklch(87.48% 0.139 91)
XYZxyz(63.8266, 66.8793, 20.3714)
Luminance0.6688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D25F #5F85F8
analogous
#F8865F #F8D25F #D2F85F
triadic
#F8D25F #5FF8D2 #D25FF8
tetradic
#F8D25F #5FF886 #5F85F8 #F85FD2
square
#F8D25F #5FF886 #5F85F8 #F85FD2
split-complementary
#F8D25F #5FD2F8 #865FF8
monochromatic
#D3A109 #F5C224 #F8D25F #FBE29A #FDF3D4

Accessibility & contrast

On white

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

On black

14.38
#F8D25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D25F
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D25F#FFFFFF#000000##000000
##F8D25F1.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8d25f;
/* rgb */ color: rgb(248, 210, 95);
/* oklch */ color: oklch(87.5% 0.139 91.0);
Tailwind
colors: {
  custom: {
    50: '#fedf90',
    500: '#f8d25f',
    950: '#000000',
  },
}
SCSS
$custom: #f8d25f;
$custom-light: #fedf90;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d25f",
  "rgb": {
    "r": 248,
    "g": 210,
    "b": 95
  },
  "hsl": {
    "h": 45.098,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87482,
    "c": 0.13897,
    "h": 91
  },
  "luminance": 0.66876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D25F

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

Preview Lab → · Contrast checker → · Palette generator →

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