#FEC278#FEC278

#FEC278 is a very light, moderate orange. Relative luminance 0.610; OKLCH L 85.3% C 0.114 H 71.1°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#FEC278
RGBrgb(254, 194, 120)
HSLhsl(33, 99%, 73%)
HSVhsv(33, 53%, 100%)
CMYKcmyk(0%, 23.6%, 52.8%, 0.4%)
CIE-LABlab(82.39, 13.15, 45.24)
CIE-LCHlch(82.39, 47.12, 73.79°)
OKLaboklab(85.3% 0.0371 0.1082)
OKLCHoklch(85.3% 0.114 71.1)
XYZxyz(63.5581, 61.0146, 26.1950)
Luminance0.6101 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC278 #78B4FE
analogous
#FE7F78 #FEC278 #F7FE78
triadic
#FEC278 #78FEC2 #C278FE
tetradic
#FEC278 #78FE7F #78B4FE #FE78F7
square
#FEC278 #78FE7F #78B4FE #FE78F7
split-complementary
#FEC278 #78F7FE #7F78FE
monochromatic
#FA8B02 #FEA73B #FEC278 #FEDDB5 #FFF1E1

Accessibility & contrast

On white

1.59
#FEC278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#FEC278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC278
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC278#FFFFFF#000000##000000
##FEC2781.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C572
Deuteranopia (green-blind)
#E5D37A
Tritanopia (blue-blind)
#FFB3B0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #fec278;
/* rgb */ color: rgb(254, 194, 120);
/* oklch */ color: oklch(85.3% 0.114 71.1);
Tailwind
colors: {
  custom: {
    50: '#ffd4a0',
    500: '#fec278',
    950: '#000000',
  },
}
SCSS
$custom: #fec278;
$custom-light: #ffd4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fec278",
  "rgb": {
    "r": 254,
    "g": 194,
    "b": 120
  },
  "hsl": {
    "h": 33.134,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.85304,
    "c": 0.11441,
    "h": 71.1
  },
  "luminance": 0.6101
}

Semantic roles & 50–950 ramp

primary
#FEC278
secondary
#3F85DC
accent
#67E600
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140F
muted
#868380

Preview Lab

Preview with #FEC278

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

Preview Lab → · Contrast checker → · Palette generator →

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