#BAAF3E#BAAF3E

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

Color values

HEX#BAAF3E
RGBrgb(186, 175, 62)
HSLhsl(55, 50%, 49%)
HSVhsv(55, 67%, 73%)
CMYKcmyk(0%, 5.9%, 66.7%, 27.1%)
CIE-LABlab(70.49, -9.53, 57.01)
CIE-LCHlch(70.49, 57.80, 99.49°)
OKLaboklab(74.23% -0.0314 0.1284)
OKLCHoklch(74.23% 0.132 103.7)
XYZxyz(36.4506, 41.4483, 10.6368)
Luminance0.4145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF3E #3E49BA
analogous
#BA713E #BAAF3E #87BA3E
triadic
#BAAF3E #3EBAAF #AF3EBA
tetradic
#BAAF3E #3EBA71 #3E49BA #BA3E87
square
#BAAF3E #3EBA71 #3E49BA #BA3E87
split-complementary
#BAAF3E #3E87BA #713EBA
monochromatic
#5E591F #8C842F #BAAF3E #CDC468 #DCD696

Accessibility & contrast

On white

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

On black

9.29
#BAAF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAF3E
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAF3E#FFFFFF#000000##000000
##BAAF3E1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92F
Deuteranopia (green-blind)
#C2AF45
Tritanopia (blue-blind)
#C8A398
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #baaf3e;
/* rgb */ color: rgb(186, 175, 62);
/* oklch */ color: oklch(74.2% 0.132 103.7);
Tailwind
colors: {
  custom: {
    50: '#d2c679',
    500: '#baaf3e',
    950: '#000000',
  },
}
SCSS
$custom: #baaf3e;
$custom-light: #d2c679;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf3e",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 54.677,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74232,
    "c": 0.13213,
    "h": 103.7
  },
  "luminance": 0.41447
}

Semantic roles & 50–950 ramp

primary
#BAAF3E
secondary
#8C91C8
accent
#5BDA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAAF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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