Amber (survey)#FEB308

#FEB308 is a light, vivid orange. Relative luminance 0.533; OKLCH L 81.7% C 0.169 H 78.1°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Amber (survey) — editorial page

Color values

HEX#FEB308
RGBrgb(254, 179, 8)
HSLhsl(42, 99%, 51%)
HSVhsv(42, 97%, 100%)
CMYKcmyk(0%, 29.5%, 96.9%, 0.4%)
CIE-LABlab(78.07, 16.27, 80.14)
CIE-LCHlch(78.07, 81.77, 78.52°)
OKLaboklab(81.69% 0.0349 0.1655)
OKLCHoklch(81.69% 0.169 78.1)
XYZxyz(57.0415, 53.3336, 7.5199)
Luminance0.5333 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEB308 #0853FE
analogous
#FE3808 #FEB308 #CEFE08
triadic
#FEB308 #08FEB3 #B308FE
tetradic
#FEB308 #08FE38 #0853FE #FE08CE
square
#FEB308 #08FE38 #0853FE #FE08CE
split-complementary
#FEB308 #08CEFE #3808FE
monochromatic
#8B6101 #C88B01 #FEB308 #FEC645 #FED982

Accessibility & contrast

On white

1.80
#FEB308 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#FEB308 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEB308
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEB308#FFFFFF#000000##000000
##FEB3081.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#E1C919
Tritanopia (blue-blind)
#FF9E99
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #feb308;
/* rgb */ color: rgb(254, 179, 8);
/* oklch */ color: oklch(81.7% 0.169 78.1);
Tailwind
colors: {
  custom: {
    50: '#ffc968',
    500: '#feb308',
    950: '#000000',
  },
}
SCSS
$custom: #feb308;
$custom-light: #ffc968;
$custom-dark: #000000;
JSON
{
  "hex": "#feb308",
  "rgb": {
    "r": 254,
    "g": 179,
    "b": 8
  },
  "hsl": {
    "h": 41.707,
    "s": 99.194,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81691,
    "c": 0.16914,
    "h": 78.1
  },
  "luminance": 0.53329
}

Semantic roles & 50–950 ramp

primary
#FEB308
secondary
#1A3E90
accent
#6AFF29
background
#FFFDFB
surface
#FFF9F0
border
#D7D2CB
text
#1A1307
muted
#87827C

Preview Lab

Preview with #FEB308

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

Preview Lab → · Contrast checker → · Palette generator →

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