#BAA638#BAA638

#BAA638 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.129 H 98.7°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#BAA638
RGBrgb(186, 166, 56)
HSLhsl(51, 54%, 47%)
HSVhsv(51, 70%, 73%)
CMYKcmyk(0%, 10.8%, 69.9%, 27.1%)
CIE-LABlab(68.02, -5.14, 56.93)
CIE-LCHlch(68.02, 57.16, 95.16°)
OKLaboklab(72.26% -0.0196 0.1272)
OKLCHoklch(72.26% 0.129 98.7)
XYZxyz(34.6013, 37.9987, 9.2525)
Luminance0.3800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA638 #384CBA
analogous
#BA6538 #BAA638 #8DBA38
triadic
#BAA638 #38BAA6 #A638BA
tetradic
#BAA638 #38BA65 #384CBA #BA388D
square
#BAA638 #38BA65 #384CBA #BA388D
split-complementary
#BAA638 #388DBA #6538BA
monochromatic
#5C521C #8B7C2A #BAA638 #CFBE60 #DDD18F

Accessibility & contrast

On white

2.44
#BAA638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#BAA638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA638
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA638#FFFFFF#000000##000000
##BAA6381.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A228
Deuteranopia (green-blind)
#BBA93E
Tritanopia (blue-blind)
#C89A90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #baa638;
/* rgb */ color: rgb(186, 166, 56);
/* oklch */ color: oklch(72.3% 0.129 98.7);
Tailwind
colors: {
  custom: {
    50: '#d2c075',
    500: '#baa638',
    950: '#000000',
  },
}
SCSS
$custom: #baa638;
$custom-light: #d2c075;
$custom-dark: #000000;
JSON
{
  "hex": "#baa638",
  "rgb": {
    "r": 186,
    "g": 166,
    "b": 56
  },
  "hsl": {
    "h": 50.769,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72258,
    "c": 0.12867,
    "h": 98.7
  },
  "luminance": 0.37997
}

Semantic roles & 50–950 ramp

primary
#BAA638
secondary
#8690C8
accent
#61DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA638

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

Preview Lab → · Contrast checker → · Palette generator →

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