#FAB42E#FAB42E

#FAB42E is a light, vivid orange. Relative luminance 0.532; OKLCH L 81.6% C 0.158 H 78.0°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#FAB42E
RGBrgb(250, 180, 46)
HSLhsl(39, 95%, 58%)
HSVhsv(39, 82%, 98%)
CMYKcmyk(0%, 28%, 81.6%, 2%)
CIE-LABlab(77.97, 14.71, 72.14)
CIE-LCHlch(77.97, 73.62, 78.47°)
OKLaboklab(81.55% 0.0328 0.1546)
OKLCHoklch(81.55% 0.158 78)
XYZxyz(56.2429, 53.1685, 9.8846)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAB42E #2E74FA
analogous
#FA4E2E #FAB42E #DAFA2E
triadic
#FAB42E #2EFAB4 #B42EFA
tetradic
#FAB42E #2EFA4E #2E74FA #FA2EDA
square
#FAB42E #2EFA4E #2E74FA #FA2EDA
split-complementary
#FAB42E #2EDAFA #4E2EFA
monochromatic
#AA7104 #E59905 #FAB42E #FBC96A #FDDFA6

Accessibility & contrast

On white

1.81
#FAB42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#FAB42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAB42E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAB42E#FFFFFF#000000##000000
##FAB42E1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB70A
Deuteranopia (green-blind)
#DFC834
Tritanopia (blue-blind)
#FFA09B
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #fab42e;
/* rgb */ color: rgb(250, 180, 46);
/* oklch */ color: oklch(81.6% 0.158 78.0);
Tailwind
colors: {
  custom: {
    50: '#ffca73',
    500: '#fab42e',
    950: '#000000',
  },
}
SCSS
$custom: #fab42e;
$custom-light: #ffca73;
$custom-dark: #000000;
JSON
{
  "hex": "#fab42e",
  "rgb": {
    "r": 250,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 39.412,
    "s": 95.327,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81551,
    "c": 0.15808,
    "h": 78
  },
  "luminance": 0.53164
}

Semantic roles & 50–950 ramp

primary
#FAB42E
secondary
#2251AA
accent
#72FF29
background
#FFFDFB
surface
#FFF9F1
border
#D7D2CB
text
#191309
muted
#87827D

Preview Lab

Preview with #FAB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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