#BAA236#BAA236

#BAA236 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.4% C 0.127 H 96.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#BAA236
RGBrgb(186, 162, 54)
HSLhsl(49, 55%, 47%)
HSVhsv(49, 71%, 73%)
CMYKcmyk(0%, 12.9%, 71%, 27.1%)
CIE-LABlab(66.94, -3.11, 56.65)
CIE-LCHlch(66.94, 56.73, 93.15°)
OKLaboklab(71.4% -0.014 0.1262)
OKLCHoklch(71.4% 0.127 96.3)
XYZxyz(33.8376, 36.5479, 8.7614)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA236 #364EBA
analogous
#BA6036 #BAA236 #90BA36
triadic
#BAA236 #36BAA2 #A236BA
tetradic
#BAA236 #36BA60 #364EBA #BA3690
square
#BAA236 #36BA60 #364EBA #BA3690
split-complementary
#BAA236 #3690BA #6036BA
monochromatic
#5B4F1A #8B7928 #BAA236 #D0BB5D #DECF8D

Accessibility & contrast

On white

2.53
#BAA236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#BAA236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA236
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA236#FFFFFF#000000##000000
##BAA2361.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E26
Deuteranopia (green-blind)
#B9A63C
Tritanopia (blue-blind)
#C9968C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa236;
/* rgb */ color: rgb(186, 162, 54);
/* oklch */ color: oklch(71.4% 0.127 96.3);
Tailwind
colors: {
  custom: {
    50: '#d2bd74',
    500: '#baa236',
    950: '#000000',
  },
}
SCSS
$custom: #baa236;
$custom-light: #d2bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#baa236",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 49.091,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71395,
    "c": 0.12699,
    "h": 96.3
  },
  "luminance": 0.36546
}

Semantic roles & 50–950 ramp

primary
#BAA236
secondary
#8490C8
accent
#65DE49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA236

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

Preview Lab → · Contrast checker → · Palette generator →

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