#FFF27B#FFF27B

#FFF27B is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.8% C 0.141 H 103.1°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#FFF27B
RGBrgb(255, 242, 123)
HSLhsl(54, 100%, 74%)
HSVhsv(54, 52%, 100%)
CMYKcmyk(0%, 5.1%, 51.8%, 0%)
CIE-LABlab(94.40, -10.61, 58.29)
CIE-LCHlch(94.40, 59.25, 100.31°)
OKLaboklab(94.8% -0.0319 0.1372)
OKLCHoklch(94.8% 0.141 103.1)
XYZxyz(76.5696, 86.1969, 31.3393)
Luminance0.8619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF27B #7B88FF
analogous
#FFB07B #FFF27B #CAFF7B
triadic
#FFF27B #7BFFF2 #F27BFF
tetradic
#FFF27B #7BFFB0 #7B88FF #FF7BCA
square
#FFF27B #7BFFB0 #7B88FF #FF7BCA
split-complementary
#FFF27B #7BCAFF #B07BFF
monochromatic
#FFE601 #FFEC3E #FFF27B #FFF8B8 #FFFCE0

Accessibility & contrast

On white

1.15
#FFF27B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#FFF27B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF27B
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF27B#FFFFFF#000000##000000
##FFF27B1.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB70
Deuteranopia (green-blind)
#FFF281
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fff27b;
/* rgb */ color: rgb(255, 242, 123);
/* oklch */ color: oklch(94.8% 0.141 103.1);
Tailwind
colors: {
  custom: {
    50: '#fff6a4',
    500: '#fff27b',
    950: '#000000',
  },
}
SCSS
$custom: #fff27b;
$custom-light: #fff6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fff27b",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 123
  },
  "hsl": {
    "h": 54.091,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94803,
    "c": 0.14081,
    "h": 103.1
  },
  "luminance": 0.86194
}

Semantic roles & 50–950 ramp

primary
#FFF27B
secondary
#4150DD
accent
#17E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF27B

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

Preview Lab → · Contrast checker → · Palette generator →

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