#BAAF4E#BAAF4E

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

Color values

HEX#BAAF4E
RGBrgb(186, 175, 78)
HSLhsl(54, 44%, 52%)
HSVhsv(54, 58%, 73%)
CMYKcmyk(0%, 5.9%, 58.1%, 27.1%)
CIE-LABlab(70.63, -8.46, 50.13)
CIE-LCHlch(70.63, 50.84, 99.58°)
OKLaboklab(74.39% -0.0265 0.1161)
OKLCHoklch(74.39% 0.119 102.9)
XYZxyz(36.9561, 41.6504, 13.2989)
Luminance0.4165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF4E #4E59BA
analogous
#BA794E #BAAF4E #8FBA4E
triadic
#BAAF4E #4EBAAF #AF4EBA
tetradic
#BAAF4E #4EBA79 #4E59BA #BA4E8F
square
#BAAF4E #4EBA79 #4E59BA #BA4E8F
split-complementary
#BAAF4E #4E8FBA #794EBA
monochromatic
#666028 #928939 #BAAF4E #CBC37A #DCD7A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAF4E#FFFFFF#000000##000000
##BAAF4E1.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)
#BDAA44
Deuteranopia (green-blind)
#C1AF53
Tritanopia (blue-blind)
#C7A49A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #baaf4e;
/* rgb */ color: rgb(186, 175, 78);
/* oklch */ color: oklch(74.4% 0.119 102.9);
Tailwind
colors: {
  custom: {
    50: '#d1c683',
    500: '#baaf4e',
    950: '#000000',
  },
}
SCSS
$custom: #baaf4e;
$custom-light: #d1c683;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf4e",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 53.889,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74389,
    "c": 0.11904,
    "h": 102.9
  },
  "luminance": 0.41649
}

Semantic roles & 50–950 ramp

primary
#BAAF4E
secondary
#9A9FCA
accent
#61D454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAAF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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