#F5E672#F5E672

#F5E672 is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.4% C 0.138 H 102.0°. Best body text is #000000 at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#F5E672
RGBrgb(245, 230, 114)
HSLhsl(53, 87%, 70%)
HSVhsv(53, 53%, 96%)
CMYKcmyk(0%, 6.1%, 53.5%, 3.9%)
CIE-LABlab(90.42, -9.37, 57.55)
CIE-LCHlch(90.42, 58.31, 99.25°)
OKLaboklab(91.42% -0.0287 0.1349)
OKLCHoklch(91.42% 0.138 102)
XYZxyz(68.9925, 77.2235, 27.1877)
Luminance0.7722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E672 #7281F5
analogous
#F5A572 #F5E672 #C2F572
triadic
#F5E672 #72F5E6 #E672F5
tetradic
#F5E672 #72F5A5 #7281F5 #F572C2
square
#F5E672 #72F5A5 #7281F5 #F572C2
split-complementary
#F5E672 #72C2F5 #A572F5
monochromatic
#DDC510 #F1DC39 #F5E672 #F9F0AB #FDFAE2

Accessibility & contrast

On white

1.28
#F5E672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.44
#F5E672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E672
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E672#FFFFFF#000000##000000
##F5E6721.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E067
Deuteranopia (green-blind)
#FDE778
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e672;
/* rgb */ color: rgb(245, 230, 114);
/* oklch */ color: oklch(91.4% 0.138 102.0);
Tailwind
colors: {
  custom: {
    50: '#fbed9e',
    500: '#f5e672',
    950: '#000000',
  },
}
SCSS
$custom: #f5e672;
$custom-light: #fbed9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e672",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 114
  },
  "hsl": {
    "h": 53.13,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91422,
    "c": 0.13786,
    "h": 102
  },
  "luminance": 0.77221
}

Semantic roles & 50–950 ramp

primary
#F5E672
secondary
#3C4DCF
accent
#1CE302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E672

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

Preview Lab → · Contrast checker → · Palette generator →

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