#FEC751#FEC751

#FEC751 is a very light, vivid orange. Relative luminance 0.625; OKLCH L 85.8% C 0.146 H 83.4°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#FEC751
RGBrgb(254, 199, 81)
HSLhsl(41, 99%, 66%)
HSVhsv(41, 68%, 100%)
CMYKcmyk(0%, 21.7%, 68.1%, 0.4%)
CIE-LABlab(83.19, 7.92, 64.29)
CIE-LCHlch(83.19, 64.78, 82.97°)
OKLaboklab(85.8% 0.0168 0.1447)
OKLCHoklch(85.8% 0.146 83.4)
XYZxyz(62.7854, 62.5160, 16.5429)
Luminance0.6251 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC751 #5188FE
analogous
#FE7051 #FEC751 #DEFE51
triadic
#FEC751 #51FEC7 #C751FE
tetradic
#FEC751 #51FE70 #5188FE #FE51DE
square
#FEC751 #51FE70 #5188FE #FE51DE
split-complementary
#FEC751 #51DEFE #7051FE
monochromatic
#D39101 #FEB314 #FEC751 #FEDB8E #FFEECB

Accessibility & contrast

On white

1.56
#FEC751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#FEC751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC751
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC751#FFFFFF#000000##000000
##FEC7511.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC742
Deuteranopia (green-blind)
#ECD556
Tritanopia (blue-blind)
#FFB6AE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #fec751;
/* rgb */ color: rgb(254, 199, 81);
/* oklch */ color: oklch(85.8% 0.146 83.4);
Tailwind
colors: {
  custom: {
    50: '#ffd787',
    500: '#fec751',
    950: '#000000',
  },
}
SCSS
$custom: #fec751;
$custom-light: #ffd787;
$custom-dark: #000000;
JSON
{
  "hex": "#fec751",
  "rgb": {
    "r": 254,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 40.925,
    "s": 98.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85801,
    "c": 0.14568,
    "h": 83.4
  },
  "luminance": 0.62512
}

Semantic roles & 50–950 ramp

primary
#FEC751
secondary
#255BCE
accent
#49E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#19140C
muted
#87837F

Preview Lab

Preview with #FEC751

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

Preview Lab → · Contrast checker → · Palette generator →

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