#FFBA51#FFBA51

#FFBA51 is a very light, vivid orange. Relative luminance 0.570; OKLCH L 83.5% C 0.143 H 74.7°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#FFBA51
RGBrgb(255, 186, 81)
HSLhsl(36, 100%, 66%)
HSVhsv(36, 68%, 100%)
CMYKcmyk(0%, 27.1%, 68.2%, 0%)
CIE-LABlab(80.17, 15.09, 61.14)
CIE-LCHlch(80.17, 62.97, 76.13°)
OKLaboklab(83.46% 0.0377 0.138)
OKLCHoklch(83.46% 0.143 74.7)
XYZxyz(60.2881, 56.9766, 15.6053)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFBA51 #5196FF
analogous
#FF6351 #FFBA51 #EDFF51
triadic
#FFBA51 #51FFBA #BA51FF
tetradic
#FFBA51 #51FF63 #5196FF #FF51ED
square
#FFBA51 #51FF63 #5196FF #FF51ED
split-complementary
#FFBA51 #51EDFF #6351FF
monochromatic
#D68100 #FFA214 #FFBA51 #FFD28E #FFEBCB

Accessibility & contrast

On white

1.69
#FFBA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#FFBA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFBA51
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFBA51#FFFFFF#000000##000000
##FFBA511.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD45
Deuteranopia (green-blind)
#E3CE54
Tritanopia (blue-blind)
#FFA8A4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ffba51;
/* rgb */ color: rgb(255, 186, 81);
/* oklch */ color: oklch(83.5% 0.143 74.7);
Tailwind
colors: {
  custom: {
    50: '#ffce86',
    500: '#ffba51',
    950: '#000000',
  },
}
SCSS
$custom: #ffba51;
$custom-light: #ffce86;
$custom-dark: #000000;
JSON
{
  "hex": "#ffba51",
  "rgb": {
    "r": 255,
    "g": 186,
    "b": 81
  },
  "hsl": {
    "h": 36.207,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.83457,
    "c": 0.14302,
    "h": 74.7
  },
  "luminance": 0.56972
}

Semantic roles & 50–950 ramp

primary
#FFBA51
secondary
#2568D0
accent
#5BE600
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#19130B
muted
#87837E

Preview Lab

Preview with #FFBA51

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

Preview Lab → · Contrast checker → · Palette generator →

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