#BAA237#BAA237

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

Color values

HEX#BAA237
RGBrgb(186, 162, 55)
HSLhsl(49, 54%, 47%)
HSVhsv(49, 70%, 73%)
CMYKcmyk(0%, 12.9%, 70.4%, 27.1%)
CIE-LABlab(66.94, -3.06, 56.25)
CIE-LCHlch(66.94, 56.34, 93.12°)
OKLaboklab(71.4% -0.0138 0.1256)
OKLCHoklch(71.4% 0.126 96.3)
XYZxyz(33.8613, 36.5574, 8.8864)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA237 #374FBA
analogous
#BA6137 #BAA237 #90BA37
triadic
#BAA237 #37BAA2 #A237BA
tetradic
#BAA237 #37BA61 #374FBA #BA3790
square
#BAA237 #37BA61 #374FBA #BA3790
split-complementary
#BAA237 #3790BA #6137BA
monochromatic
#5C501B #8B7929 #BAA237 #D0BB5F #DECF8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA237#FFFFFF#000000##000000
##BAA2371.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)
#B29E28
Deuteranopia (green-blind)
#B9A63D
Tritanopia (blue-blind)
#C9968C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa237;
/* rgb */ color: rgb(186, 162, 55);
/* oklch */ color: oklch(71.4% 0.126 96.3);
Tailwind
colors: {
  custom: {
    50: '#d2bd74',
    500: '#baa237',
    950: '#000000',
  },
}
SCSS
$custom: #baa237;
$custom-light: #d2bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#baa237",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 49.008,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71403,
    "c": 0.12631,
    "h": 96.3
  },
  "luminance": 0.36556
}

Semantic roles & 50–950 ramp

primary
#BAA237
secondary
#8591C8
accent
#65DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA237

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

Preview Lab → · Contrast checker → · Palette generator →

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