#BAA255#BAA255

#BAA255 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.7% C 0.101 H 92.4°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#BAA255
RGBrgb(186, 162, 85)
HSLhsl(46, 42%, 53%)
HSVhsv(46, 54%, 73%)
CMYKcmyk(0%, 12.9%, 54.3%, 27.1%)
CIE-LABlab(67.23, -1.01, 42.82)
CIE-LCHlch(67.23, 42.84, 91.36°)
OKLaboklab(71.72% -0.0042 0.101)
OKLCHoklch(71.72% 0.101 92.4)
XYZxyz(34.8111, 36.9373, 13.8885)
Luminance0.3694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA255 #556DBA
analogous
#BA7055 #BAA255 #9FBA55
triadic
#BAA255 #55BAA2 #A255BA
tetradic
#BAA255 #55BA70 #556DBA #BA559F
square
#BAA255 #55BA70 #556DBA #BA559F
split-complementary
#BAA255 #559FBA #7055BA
monochromatic
#6A5B2B #95803D #BAA255 #CCBA81 #DDD2AC

Accessibility & contrast

On white

2.50
#BAA255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#BAA255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA255
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA255#FFFFFF#000000##000000
##BAA2551.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A04E
Deuteranopia (green-blind)
#B6A758
Tritanopia (blue-blind)
#C79790
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #baa255;
/* rgb */ color: rgb(186, 162, 85);
/* oklch */ color: oklch(71.7% 0.101 92.4);
Tailwind
colors: {
  custom: {
    50: '#d1bd87',
    500: '#baa255',
    950: '#000000',
  },
}
SCSS
$custom: #baa255;
$custom-light: #d1bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#baa255",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 85
  },
  "hsl": {
    "h": 45.743,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.71721,
    "c": 0.10113,
    "h": 92.4
  },
  "luminance": 0.36936
}

Semantic roles & 50–950 ramp

primary
#BAA255
secondary
#A0AACB
accent
#73D256
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAA255

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

Preview Lab → · Contrast checker → · Palette generator →

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