#F5C257#F5C257

#F5C257 is a very light, vivid orange. Relative luminance 0.587; OKLCH L 84.0% C 0.136 H 83.3°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#F5C257
RGBrgb(245, 194, 87)
HSLhsl(41, 89%, 65%)
HSVhsv(41, 64%, 96%)
CMYKcmyk(0%, 20.8%, 64.5%, 3.9%)
CIE-LABlab(81.12, 7.11, 59.22)
CIE-LCHlch(81.12, 59.65, 83.16°)
OKLaboklab(83.99% 0.0158 0.1352)
OKLCHoklch(83.99% 0.136 83.3)
XYZxyz(58.6715, 58.6880, 17.2526)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5C257 #578AF5
analogous
#F57357 #F5C257 #D9F557
triadic
#F5C257 #57F5C2 #C257F5
tetradic
#F5C257 #57F573 #578AF5 #F557D9
square
#F5C257 #57F573 #578AF5 #F557D9
split-complementary
#F5C257 #57D9F5 #7357F5
monochromatic
#C68A0C #F2AD1D #F5C257 #F8D791 #FCECCB

Accessibility & contrast

On white

1.65
#F5C257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#F5C257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5C257
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5C257#FFFFFF#000000##000000
##F5C2571.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24B
Deuteranopia (green-blind)
#E4CF5B
Tritanopia (blue-blind)
#FFB2AB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #f5c257;
/* rgb */ color: rgb(245, 194, 87);
/* oklch */ color: oklch(84.0% 0.136 83.3);
Tailwind
colors: {
  custom: {
    50: '#fcd48a',
    500: '#f5c257',
    950: '#000000',
  },
}
SCSS
$custom: #f5c257;
$custom-light: #fcd48a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5c257",
  "rgb": {
    "r": 245,
    "g": 194,
    "b": 87
  },
  "hsl": {
    "h": 40.633,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83989,
    "c": 0.13608,
    "h": 83.3
  },
  "luminance": 0.58684
}

Semantic roles & 50–950 ramp

primary
#F5C257
secondary
#2D5EC3
accent
#4AE500
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F5C257

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

Preview Lab → · Contrast checker → · Palette generator →

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