#B2A74A#B2A74A

#B2A74A is a light, moderate yellow. Relative luminance 0.376; OKLCH L 71.9% C 0.115 H 102.6°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B2A74A
RGBrgb(178, 167, 74)
HSLhsl(54, 41%, 49%)
HSVhsv(54, 58%, 70%)
CMYKcmyk(0%, 6.2%, 58.4%, 30.2%)
CIE-LABlab(67.72, -7.98, 48.53)
CIE-LCHlch(67.72, 49.18, 99.34°)
OKLaboklab(71.9% -0.0251 0.1123)
OKLCHoklch(71.9% 0.115 102.6)
XYZxyz(33.4160, 37.5981, 11.9742)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A74A #4A55B2
analogous
#B2734A #B2A74A #89B24A
triadic
#B2A74A #4AB2A7 #A74AB2
tetradic
#B2A74A #4AB273 #4A55B2 #B24A89
square
#B2A74A #4AB273 #4A55B2 #B24A89
split-complementary
#B2A74A #4A89B2 #734AB2
monochromatic
#5C5626 #877E38 #B2A74A #C5BD74 #D7D19F

Accessibility & contrast

On white

2.46
#B2A74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B2A74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A74A
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A74A#FFFFFF#000000##000000
##B2A74A1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A240
Deuteranopia (green-blind)
#B8A74F
Tritanopia (blue-blind)
#BE9D93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a74a;
/* rgb */ color: rgb(178, 167, 74);
/* oklch */ color: oklch(71.9% 0.115 102.6);
Tailwind
colors: {
  custom: {
    50: '#cbc080',
    500: '#b2a74a',
    950: '#000000',
  },
}
SCSS
$custom: #b2a74a;
$custom-light: #cbc080;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a74a",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 74
  },
  "hsl": {
    "h": 53.654,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71901,
    "c": 0.11507,
    "h": 102.6
  },
  "luminance": 0.37597
}

Semantic roles & 50–950 ramp

primary
#B2A74A
secondary
#9499C4
accent
#64D157
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A74A

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

Preview Lab → · Contrast checker → · Palette generator →

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