#BAAA58#BAAA58

#BAAA58 is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.4% C 0.105 H 98.5°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#BAAA58
RGBrgb(186, 170, 88)
HSLhsl(50, 42%, 54%)
HSVhsv(50, 53%, 73%)
CMYKcmyk(0%, 8.6%, 52.7%, 27.1%)
CIE-LABlab(69.39, -5.02, 43.90)
CIE-LCHlch(69.39, 44.19, 96.53°)
OKLaboklab(73.45% -0.0155 0.1037)
OKLCHoklch(73.45% 0.105 98.5)
XYZxyz(36.3871, 39.8945, 15.0144)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA58 #5868BA
analogous
#BA7958 #BAAA58 #99BA58
triadic
#BAAA58 #58BAAA #AA58BA
tetradic
#BAAA58 #58BA79 #5868BA #BA5899
square
#BAAA58 #58BA79 #5868BA #BA5899
split-complementary
#BAAA58 #5899BA #7958BA
monochromatic
#6B612C #97883E #BAAA58 #CCC083 #DED6AF

Accessibility & contrast

On white

2.34
#BAAA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#BAAA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA58
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA58#FFFFFF#000000##000000
##BAAA581.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A651
Deuteranopia (green-blind)
#BCAC5C
Tritanopia (blue-blind)
#C7A097
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa58;
/* rgb */ color: rgb(186, 170, 88);
/* oklch */ color: oklch(73.4% 0.105 98.5);
Tailwind
colors: {
  custom: {
    50: '#d1c389',
    500: '#baaa58',
    950: '#000000',
  },
}
SCSS
$custom: #baaa58;
$custom-light: #d1c389;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa58",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 88
  },
  "hsl": {
    "h": 50.204,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.73445,
    "c": 0.10484,
    "h": 98.5
  },
  "luminance": 0.39893
}

Semantic roles & 50–950 ramp

primary
#BAAA58
secondary
#A2A9CC
accent
#6BD156
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BAAA58

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

Preview Lab → · Contrast checker → · Palette generator →

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