#BAA74F#BAA74F

#BAA74F is a light, moderate yellow. Relative luminance 0.386; OKLCH L 72.7% C 0.111 H 97.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#BAA74F
RGBrgb(186, 167, 79)
HSLhsl(49, 44%, 52%)
HSVhsv(49, 58%, 73%)
CMYKcmyk(0%, 10.2%, 57.5%, 27.1%)
CIE-LABlab(68.49, -4.17, 47.23)
CIE-LCHlch(68.49, 47.41, 95.05°)
OKLaboklab(72.7% -0.0141 0.1099)
OKLCHoklch(72.7% 0.111 97.3)
XYZxyz(35.4811, 38.6426, 12.9854)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA74F #4F62BA
analogous
#BA724F #BAA74F #97BA4F
triadic
#BAA74F #4FBAA7 #A74FBA
tetradic
#BAA74F #4FBA72 #4F62BA #BA4F97
square
#BAA74F #4FBA72 #4F62BA #BA4F97
split-complementary
#BAA74F #4F97BA #724FBA
monochromatic
#665B28 #928339 #BAA74F #CBBD7B #DCD3A7

Accessibility & contrast

On white

2.41
#BAA74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#BAA74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA74F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA74F#FFFFFF#000000##000000
##BAA74F1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A346
Deuteranopia (green-blind)
#BBAA53
Tritanopia (blue-blind)
#C79C93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #baa74f;
/* rgb */ color: rgb(186, 167, 79);
/* oklch */ color: oklch(72.7% 0.111 97.3);
Tailwind
colors: {
  custom: {
    50: '#d1c083',
    500: '#baa74f',
    950: '#000000',
  },
}
SCSS
$custom: #baa74f;
$custom-light: #d1c083;
$custom-dark: #000000;
JSON
{
  "hex": "#baa74f",
  "rgb": {
    "r": 186,
    "g": 167,
    "b": 79
  },
  "hsl": {
    "h": 49.346,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.72697,
    "c": 0.11084,
    "h": 97.3
  },
  "luminance": 0.38641
}

Semantic roles & 50–950 ramp

primary
#BAA74F
secondary
#9BA3CA
accent
#6BD354
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAA74F

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

Preview Lab → · Contrast checker → · Palette generator →

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