#BAAB3E#BAAB3E

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

Color values

HEX#BAAB3E
RGBrgb(186, 171, 62)
HSLhsl(53, 50%, 49%)
HSVhsv(53, 67%, 73%)
CMYKcmyk(0%, 8.1%, 66.7%, 27.1%)
CIE-LABlab(69.41, -7.44, 55.89)
CIE-LCHlch(69.41, 56.38, 97.58°)
OKLaboklab(73.37% -0.0254 0.126)
OKLCHoklch(73.37% 0.129 101.4)
XYZxyz(35.6836, 39.9142, 10.3811)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB3E #3E4DBA
analogous
#BA6D3E #BAAB3E #8BBA3E
triadic
#BAAB3E #3EBAAB #AB3EBA
tetradic
#BAAB3E #3EBA6D #3E4DBA #BA3E8B
square
#BAAB3E #3EBA6D #3E4DBA #BA3E8B
split-complementary
#BAAB3E #3E8BBA #6D3EBA
monochromatic
#5E571F #8C812F #BAAB3E #CDC168 #DCD496

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAB3E#FFFFFF#000000##000000
##BAAB3E1.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)
#BAA630
Deuteranopia (green-blind)
#BFAC44
Tritanopia (blue-blind)
#C89F95
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baab3e;
/* rgb */ color: rgb(186, 171, 62);
/* oklch */ color: oklch(73.4% 0.129 101.4);
Tailwind
colors: {
  custom: {
    50: '#d2c379',
    500: '#baab3e',
    950: '#000000',
  },
}
SCSS
$custom: #baab3e;
$custom-light: #d2c379;
$custom-dark: #000000;
JSON
{
  "hex": "#baab3e",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 52.742,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73374,
    "c": 0.12853,
    "h": 101.4
  },
  "luminance": 0.39913
}

Semantic roles & 50–950 ramp

primary
#BAAB3E
secondary
#8C93C8
accent
#5FDA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #BAAB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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