#FFF258#FFF258

#FFF258 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.5% C 0.169 H 104.5°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#FFF258
RGBrgb(255, 242, 88)
HSLhsl(55, 100%, 67%)
HSVhsv(55, 65%, 100%)
CMYKcmyk(0%, 5.1%, 65.5%, 0%)
CIE-LABlab(94.09, -12.97, 72.82)
CIE-LCHlch(94.09, 73.96, 100.10°)
OKLaboklab(94.46% -0.0423 0.1638)
OKLCHoklch(94.46% 0.169 104.5)
XYZxyz(74.7565, 85.4716, 21.7905)
Luminance0.8547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF258 #5865FF
analogous
#FF9E58 #FFF258 #B9FF58
triadic
#FFF258 #58FFF2 #F258FF
tetradic
#FFF258 #58FF9E #5865FF #FF58B9
square
#FFF258 #58FF9E #5865FF #FF58B9
split-complementary
#FFF258 #58B9FF #9E58FF
monochromatic
#DDCB00 #FFED1B #FFF258 #FFF795 #FFFCD2

Accessibility & contrast

On white

1.16
#FFF258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.09
#FFF258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF258
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF258#FFFFFF#000000##000000
##FFF2581.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA43
Deuteranopia (green-blind)
#FFF162
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fff258;
/* rgb */ color: rgb(255, 242, 88);
/* oklch */ color: oklch(94.5% 0.169 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff68f',
    500: '#fff258',
    950: '#000000',
  },
}
SCSS
$custom: #fff258;
$custom-light: #fff68f;
$custom-dark: #000000;
JSON
{
  "hex": "#fff258",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 55.329,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.94456,
    "c": 0.16921,
    "h": 104.5
  },
  "luminance": 0.85469
}

Semantic roles & 50–950 ramp

primary
#FFF258
secondary
#2633D6
accent
#12E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFF258

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

Preview Lab → · Contrast checker → · Palette generator →

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