#FFF07B#FFF07B

#FFF07B is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.4% C 0.139 H 102.1°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#FFF07B
RGBrgb(255, 240, 123)
HSLhsl(53, 100%, 74%)
HSVhsv(53, 52%, 100%)
CMYKcmyk(0%, 5.9%, 51.8%, 0%)
CIE-LABlab(93.89, -9.62, 57.69)
CIE-LCHlch(93.89, 58.49, 99.47°)
OKLaboklab(94.4% -0.029 0.1359)
OKLCHoklch(94.4% 0.139 102.1)
XYZxyz(75.9776, 85.0129, 31.1420)
Luminance0.8501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF07B #7B8AFF
analogous
#FFAE7B #FFF07B #CCFF7B
triadic
#FFF07B #7BFFF0 #F07BFF
tetradic
#FFF07B #7BFFAE #7B8AFF #FF7BCC
square
#FFF07B #7BFFAE #7B8AFF #FF7BCC
split-complementary
#FFF07B #7BCCFF #AE7BFF
monochromatic
#FFE201 #FFE93E #FFF07B #FFF7B8 #FFFCE0

Accessibility & contrast

On white

1.17
#FFF07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.00
#FFF07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF07B
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF07B#FFFFFF#000000##000000
##FFF07B1.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA70
Deuteranopia (green-blind)
#FFF080
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fff07b;
/* rgb */ color: rgb(255, 240, 123);
/* oklch */ color: oklch(94.4% 0.139 102.1);
Tailwind
colors: {
  custom: {
    50: '#fff4a4',
    500: '#fff07b',
    950: '#000000',
  },
}
SCSS
$custom: #fff07b;
$custom-light: #fff4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fff07b",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 123
  },
  "hsl": {
    "h": 53.182,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.944,
    "c": 0.13893,
    "h": 102.1
  },
  "luminance": 0.8501
}

Semantic roles & 50–950 ramp

primary
#FFF07B
secondary
#4153DD
accent
#1AE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF07B

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

Preview Lab → · Contrast checker → · Palette generator →

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