#FFBA2E#FFBA2E

#FFBA2E is a very light, vivid orange. Relative luminance 0.566; OKLCH L 83.2% C 0.161 H 79.4°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#FFBA2E
RGBrgb(255, 186, 46)
HSLhsl(40, 100%, 59%)
HSVhsv(40, 82%, 100%)
CMYKcmyk(0%, 27.1%, 82%, 0%)
CIE-LABlab(79.94, 13.69, 74.05)
CIE-LCHlch(79.94, 75.30, 79.53°)
OKLaboklab(83.21% 0.0296 0.1585)
OKLCHoklch(83.21% 0.161 79.4)
XYZxyz(59.2963, 56.5799, 10.3823)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFBA2E #2E73FF
analogous
#FF522E #FFBA2E #DCFF2E
triadic
#FFBA2E #2EFFBA #BA2EFF
tetradic
#FFBA2E #2EFF52 #2E73FF #FF2EDC
square
#FFBA2E #2EFF52 #2E73FF #FF2EDC
split-complementary
#FFBA2E #2EDCFF #522EFF
monochromatic
#B37800 #F0A100 #FFBA2E #FFCE6B #FFE2A8

Accessibility & contrast

On white

1.71
#FFBA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#FFBA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFBA2E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFBA2E#FFFFFF#000000##000000
##FFBA2E1.001.7112.3212.32
#FFFFFF1.711.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC04
Deuteranopia (green-blind)
#E5CD35
Tritanopia (blue-blind)
#FFA6A0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ffba2e;
/* rgb */ color: rgb(255, 186, 46);
/* oklch */ color: oklch(83.2% 0.161 79.4);
Tailwind
colors: {
  custom: {
    50: '#ffce74',
    500: '#ffba2e',
    950: '#000000',
  },
}
SCSS
$custom: #ffba2e;
$custom-light: #ffce74;
$custom-dark: #000000;
JSON
{
  "hex": "#ffba2e",
  "rgb": {
    "r": 255,
    "g": 186,
    "b": 46
  },
  "hsl": {
    "h": 40.191,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83211,
    "c": 0.16126,
    "h": 79.4
  },
  "luminance": 0.56575
}

Semantic roles & 50–950 ramp

primary
#FFBA2E
secondary
#1F50B2
accent
#70FF29
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#191309
muted
#87837D

Preview Lab

Preview with #FFBA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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