#BAA234#BAA234

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

Color values

HEX#BAA234
RGBrgb(186, 162, 52)
HSLhsl(49, 56%, 47%)
HSVhsv(49, 72%, 73%)
CMYKcmyk(0%, 12.9%, 72%, 27.1%)
CIE-LABlab(66.92, -3.22, 57.43)
CIE-LCHlch(66.92, 57.52, 93.20°)
OKLaboklab(71.38% -0.0145 0.1275)
OKLCHoklch(71.38% 0.128 96.5)
XYZxyz(33.7916, 36.5295, 8.5191)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA234 #344CBA
analogous
#BA5F34 #BAA234 #8FBA34
triadic
#BAA234 #34BAA2 #A234BA
tetradic
#BAA234 #34BA5F #344CBA #BA348F
square
#BAA234 #34BA5F #344CBA #BA348F
split-complementary
#BAA234 #348FBA #5F34BA
monochromatic
#5A4F19 #8A7827 #BAA234 #D1BC5A #DECF8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA234#FFFFFF#000000##000000
##BAA2341.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)
#B39E23
Deuteranopia (green-blind)
#B9A63A
Tritanopia (blue-blind)
#C9968C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa234;
/* rgb */ color: rgb(186, 162, 52);
/* oklch */ color: oklch(71.4% 0.128 96.5);
Tailwind
colors: {
  custom: {
    50: '#d2bd73',
    500: '#baa234',
    950: '#000000',
  },
}
SCSS
$custom: #baa234;
$custom-light: #d2bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#baa234",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 49.254,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7138,
    "c": 0.12832,
    "h": 96.5
  },
  "luminance": 0.36528
}

Semantic roles & 50–950 ramp

primary
#BAA234
secondary
#818EC8
accent
#63E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA234

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

Preview Lab → · Contrast checker → · Palette generator →

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