#FDAF02#FDAF02

#FDAF02 is a light, vivid orange. Relative luminance 0.515; OKLCH L 80.8% C 0.169 H 76.6°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#FDAF02
RGBrgb(253, 175, 2)
HSLhsl(41, 98%, 50%)
HSVhsv(41, 99%, 99%)
CMYKcmyk(0%, 30.8%, 99.2%, 0.8%)
CIE-LABlab(77.01, 17.89, 79.99)
CIE-LCHlch(77.01, 81.97, 77.40°)
OKLaboklab(80.84% 0.0393 0.1645)
OKLCHoklch(80.84% 0.169 76.6)
XYZxyz(55.8535, 51.5521, 7.0664)
Luminance0.5155 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDAF02 #0250FD
analogous
#FD3202 #FDAF02 #CDFD02
triadic
#FDAF02 #02FDAF #AF02FD
tetradic
#FDAF02 #02FD32 #0250FD #FD02CD
square
#FDAF02 #02FD32 #0250FD #FD02CD
split-complementary
#FDAF02 #02CDFD #3202FD
monochromatic
#845B01 #C08502 #FDAF02 #FDC23F #FED57B

Accessibility & contrast

On white

1.86
#FDAF02 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#FDAF02 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDAF02
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDAF02#FFFFFF#000000##000000
##FDAF021.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB300
Deuteranopia (green-blind)
#DEC615
Tritanopia (blue-blind)
#FF9A95
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #fdaf02;
/* rgb */ color: rgb(253, 175, 2);
/* oklch */ color: oklch(80.8% 0.169 76.6);
Tailwind
colors: {
  custom: {
    50: '#ffc666',
    500: '#fdaf02',
    950: '#000000',
  },
}
SCSS
$custom: #fdaf02;
$custom-light: #ffc666;
$custom-dark: #000000;
JSON
{
  "hex": "#fdaf02",
  "rgb": {
    "r": 253,
    "g": 175,
    "b": 2
  },
  "hsl": {
    "h": 41.355,
    "s": 98.431,
    "l": 50
  },
  "oklch": {
    "l": 0.80837,
    "c": 0.16914,
    "h": 76.6
  },
  "luminance": 0.51547
}

Semantic roles & 50–950 ramp

primary
#FDAF02
secondary
#193C8A
accent
#6BFF29
background
#FFFDFB
surface
#FFF9F0
border
#D7D2CB
text
#1A1307
muted
#87827C

Preview Lab

Preview with #FDAF02

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

Preview Lab → · Contrast checker → · Palette generator →

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