#BAAF4D#BAAF4D

#BAAF4D is a light, moderate yellow. Relative luminance 0.416; OKLCH L 74.4% C 0.120 H 102.9°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#BAAF4D
RGBrgb(186, 175, 77)
HSLhsl(54, 44%, 52%)
HSVhsv(54, 59%, 73%)
CMYKcmyk(0%, 5.9%, 58.6%, 27.1%)
CIE-LABlab(70.62, -8.54, 50.58)
CIE-LCHlch(70.62, 51.30, 99.58°)
OKLaboklab(74.38% -0.0268 0.1169)
OKLCHoklch(74.38% 0.12 102.9)
XYZxyz(36.9205, 41.6362, 13.1115)
Luminance0.4163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF4D #4D58BA
analogous
#BA794D #BAAF4D #8FBA4D
triadic
#BAAF4D #4DBAAF #AF4DBA
tetradic
#BAAF4D #4DBA79 #4D58BA #BA4D8F
square
#BAAF4D #4DBA79 #4D58BA #BA4D8F
split-complementary
#BAAF4D #4D8FBA #794DBA
monochromatic
#655F27 #918838 #BAAF4D #CBC379 #DCD7A5

Accessibility & contrast

On white

2.25
#BAAF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#BAAF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAF4D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAF4D#FFFFFF#000000##000000
##BAAF4D1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA43
Deuteranopia (green-blind)
#C1AF52
Tritanopia (blue-blind)
#C7A49A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #baaf4d;
/* rgb */ color: rgb(186, 175, 77);
/* oklch */ color: oklch(74.4% 0.120 102.9);
Tailwind
colors: {
  custom: {
    50: '#d1c682',
    500: '#baaf4d',
    950: '#000000',
  },
}
SCSS
$custom: #baaf4d;
$custom-light: #d1c682;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf4d",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 53.945,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74378,
    "c": 0.11993,
    "h": 102.9
  },
  "luminance": 0.41635
}

Semantic roles & 50–950 ramp

primary
#BAAF4D
secondary
#999EC9
accent
#61D454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAAF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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