#B2AA4E#B2AA4E

#B2AA4E is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.114 H 104.3°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B2AA4E
RGBrgb(178, 170, 78)
HSLhsl(55, 39%, 50%)
HSVhsv(55, 56%, 70%)
CMYKcmyk(0%, 4.5%, 56.2%, 30.2%)
CIE-LABlab(68.58, -9.25, 47.62)
CIE-LCHlch(68.58, 48.51, 100.99°)
OKLaboklab(72.6% -0.0283 0.1108)
OKLCHoklch(72.6% 0.114 104.3)
XYZxyz(34.1110, 38.7656, 12.8919)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA4E #4E56B2
analogous
#B2784E #B2AA4E #88B24E
triadic
#B2AA4E #4EB2AA #AA4EB2
tetradic
#B2AA4E #4EB278 #4E56B2 #B24E88
square
#B2AA4E #4EB278 #4E56B2 #B24E88
split-complementary
#B2AA4E #4E88B2 #784EB2
monochromatic
#5D5929 #88823B #B2AA4E #C5BE79 #D7D3A3

Accessibility & contrast

On white

2.40
#B2AA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#B2AA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA4E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA4E#FFFFFF#000000##000000
##B2AA4E1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A545
Deuteranopia (green-blind)
#BAA953
Tritanopia (blue-blind)
#BEA096
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa4e;
/* rgb */ color: rgb(178, 170, 78);
/* oklch */ color: oklch(72.6% 0.114 104.3);
Tailwind
colors: {
  custom: {
    50: '#cbc383',
    500: '#b2aa4e',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa4e;
$custom-light: #cbc383;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa4e",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 78
  },
  "hsl": {
    "h": 55.2,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72595,
    "c": 0.11438,
    "h": 104.3
  },
  "luminance": 0.38764
}

Semantic roles & 50–950 ramp

primary
#B2AA4E
secondary
#989BC4
accent
#62CF59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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