#B2AE4D#B2AE4D

#B2AE4D is a light, moderate yellow. Relative luminance 0.403; OKLCH L 73.5% C 0.119 H 106.8°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#B2AE4D
RGBrgb(178, 174, 77)
HSLhsl(58, 40%, 50%)
HSVhsv(58, 57%, 70%)
CMYKcmyk(0%, 2.2%, 56.7%, 30.2%)
CIE-LABlab(69.66, -11.42, 49.32)
CIE-LCHlch(69.66, 50.62, 103.03°)
OKLaboklab(73.45% -0.0346 0.1144)
OKLCHoklch(73.45% 0.119 106.8)
XYZxyz(34.8367, 40.2739, 12.9583)
Luminance0.4027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE4D #4D51B2
analogous
#B27C4D #B2AE4D #83B24D
triadic
#B2AE4D #4DB2AE #AE4DB2
tetradic
#B2AE4D #4DB27C #4D51B2 #B24D83
square
#B2AE4D #4DB27C #4D51B2 #B24D83
split-complementary
#B2AE4D #4D83B2 #7C4DB2
monochromatic
#5D5A28 #87843B #B2AE4D #C4C178 #D7D5A2

Accessibility & contrast

On white

2.32
#B2AE4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#B2AE4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AE4D
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AE4D#FFFFFF#000000##000000
##B2AE4D1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA843
Deuteranopia (green-blind)
#BDAC52
Tritanopia (blue-blind)
#BEA499
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae4d;
/* rgb */ color: rgb(178, 174, 77);
/* oklch */ color: oklch(73.5% 0.119 106.8);
Tailwind
colors: {
  custom: {
    50: '#cbc682',
    500: '#b2ae4d',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae4d;
$custom-light: #cbc682;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae4d",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 77
  },
  "hsl": {
    "h": 57.624,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.73454,
    "c": 0.11947,
    "h": 106.8
  },
  "luminance": 0.40273
}

Semantic roles & 50–950 ramp

primary
#B2AE4D
secondary
#9799C4
accent
#5DCF58
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AE4D

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

Preview Lab → · Contrast checker → · Palette generator →

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