#B2AE4B#B2AE4B

#B2AE4B is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.4% C 0.121 H 106.9°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#B2AE4B
RGBrgb(178, 174, 75)
HSLhsl(58, 41%, 50%)
HSVhsv(58, 58%, 70%)
CMYKcmyk(0%, 2.2%, 57.9%, 30.2%)
CIE-LABlab(69.64, -11.57, 50.22)
CIE-LCHlch(69.64, 51.54, 102.97°)
OKLaboklab(73.43% -0.0352 0.116)
OKLCHoklch(73.43% 0.121 106.9)
XYZxyz(34.7672, 40.2461, 12.5921)
Luminance0.4024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE4B #4B4FB2
analogous
#B27B4B #B2AE4B #83B24B
triadic
#B2AE4B #4BB2AE #AE4BB2
tetradic
#B2AE4B #4BB27B #4B4FB2 #B24B83
square
#B2AE4B #4BB27B #4B4FB2 #B24B83
split-complementary
#B2AE4B #4B83B2 #7B4BB2
monochromatic
#5C5A27 #878439 #B2AE4B #C5C275 #D7D5A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AE4B#FFFFFF#000000##000000
##B2AE4B1.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)
#BBA840
Deuteranopia (green-blind)
#BDAC50
Tritanopia (blue-blind)
#BEA498
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae4b;
/* rgb */ color: rgb(178, 174, 75);
/* oklch */ color: oklch(73.4% 0.121 106.9);
Tailwind
colors: {
  custom: {
    50: '#cbc681',
    500: '#b2ae4b',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae4b;
$custom-light: #cbc681;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae4b",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 75
  },
  "hsl": {
    "h": 57.67,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73431,
    "c": 0.12127,
    "h": 106.9
  },
  "luminance": 0.40245
}

Semantic roles & 50–950 ramp

primary
#B2AE4B
secondary
#9597C4
accent
#5CD157
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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