#BAAF3A#BAAF3A

#BAAF3A is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.2% C 0.135 H 103.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#BAAF3A
RGBrgb(186, 175, 58)
HSLhsl(55, 52%, 48%)
HSVhsv(55, 69%, 73%)
CMYKcmyk(0%, 5.9%, 68.8%, 27.1%)
CIE-LABlab(70.46, -9.75, 58.59)
CIE-LCHlch(70.46, 59.40, 99.45°)
OKLaboklab(74.2% -0.0324 0.131)
OKLCHoklch(74.2% 0.135 103.9)
XYZxyz(36.3449, 41.4060, 10.0799)
Luminance0.4140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF3A #3A45BA
analogous
#BA6F3A #BAAF3A #85BA3A
triadic
#BAAF3A #3ABAAF #AF3ABA
tetradic
#BAAF3A #3ABA6F #3A45BA #BA3A85
square
#BAAF3A #3ABA6F #3A45BA #BA3A85
split-complementary
#BAAF3A #3A85BA #6F3ABA
monochromatic
#5D571D #8B832B #BAAF3A #CEC563 #DDD692

Accessibility & contrast

On white

2.26
#BAAF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#BAAF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAF3A
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAF3A#FFFFFF#000000##000000
##BAAF3A1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA929
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#C8A397
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #baaf3a;
/* rgb */ color: rgb(186, 175, 58);
/* oklch */ color: oklch(74.2% 0.135 103.9);
Tailwind
colors: {
  custom: {
    50: '#d2c677',
    500: '#baaf3a',
    950: '#000000',
  },
}
SCSS
$custom: #baaf3a;
$custom-light: #d2c677;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf3a",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 54.844,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.742,
    "c": 0.13499,
    "h": 103.9
  },
  "luminance": 0.41405
}

Semantic roles & 50–950 ramp

primary
#BAAF3A
secondary
#888DC8
accent
#58DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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