#F5D271#F5D271

#F5D271 is a very light, vivid orange. Relative luminance 0.667; OKLCH L 87.4% C 0.123 H 89.9°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#F5D271
RGBrgb(245, 210, 113)
HSLhsl(44, 87%, 70%)
HSVhsv(44, 54%, 96%)
CMYKcmyk(0%, 14.3%, 53.9%, 3.9%)
CIE-LABlab(85.35, 0.66, 52.05)
CIE-LCHlch(85.35, 52.05, 89.27°)
OKLaboklab(87.41% 0.0002 0.1228)
OKLCHoklch(87.41% 0.123 89.9)
XYZxyz(63.6860, 66.7011, 25.1396)
Luminance0.6670 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D271 #7194F5
analogous
#F59071 #F5D271 #D6F571
triadic
#F5D271 #71F5D2 #D271F5
tetradic
#F5D271 #71F590 #7194F5 #F571D6
square
#F5D271 #71F590 #7194F5 #F571D6
split-complementary
#F5D271 #71D6F5 #9071F5
monochromatic
#DCA610 #F1C038 #F5D271 #F9E4AA #FDF6E2

Accessibility & contrast

On white

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

On black

14.34
#F5D271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D271
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D271#FFFFFF#000000##000000
##F5D2711.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D068
Deuteranopia (green-blind)
#EED975
Tritanopia (blue-blind)
#FFC4BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d271;
/* rgb */ color: rgb(245, 210, 113);
/* oklch */ color: oklch(87.4% 0.123 89.9);
Tailwind
colors: {
  custom: {
    50: '#fbdf9c',
    500: '#f5d271',
    950: '#000000',
  },
}
SCSS
$custom: #f5d271;
$custom-light: #fbdf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d271",
  "rgb": {
    "r": 245,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 44.091,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87406,
    "c": 0.1228,
    "h": 89.9
  },
  "luminance": 0.66698
}

Semantic roles & 50–950 ramp

primary
#F5D271
secondary
#3B62CF
accent
#3EE302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D271

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

Preview Lab → · Contrast checker → · Palette generator →

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