#B2AE3A#B2AE3A

#B2AE3A is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.3% C 0.135 H 107.4°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#B2AE3A
RGBrgb(178, 174, 58)
HSLhsl(58, 51%, 46%)
HSVhsv(58, 67%, 70%)
CMYKcmyk(0%, 2.2%, 67.4%, 30.2%)
CIE-LABlab(69.50, -12.69, 57.40)
CIE-LCHlch(69.50, 58.79, 102.47°)
OKLaboklab(73.27% -0.0403 0.1288)
OKLCHoklch(73.27% 0.135 107.4)
XYZxyz(34.2611, 40.0437, 9.9266)
Luminance0.4004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE3A #3A3EB2
analogous
#B2723A #B2AE3A #7AB23A
triadic
#B2AE3A #3AB2AE #AE3AB2
tetradic
#B2AE3A #3AB272 #3A3EB2 #B23A7A
square
#B2AE3A #3AB272 #3A3EB2 #B23A7A
split-complementary
#B2AE3A #3A7AB2 #723AB2
monochromatic
#56541C #84812B #B2AE3A #CBC75F #DAD78D

Accessibility & contrast

On white

2.33
#B2AE3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#B2AE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AE3A
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AE3A#FFFFFF#000000##000000
##B2AE3A1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA729
Deuteranopia (green-blind)
#BFAC42
Tritanopia (blue-blind)
#BFA397
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae3a;
/* rgb */ color: rgb(178, 174, 58);
/* oklch */ color: oklch(73.3% 0.135 107.4);
Tailwind
colors: {
  custom: {
    50: '#ccc577',
    500: '#b2ae3a',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae3a;
$custom-light: #ccc577;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae3a",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 58,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73271,
    "c": 0.13491,
    "h": 107.4
  },
  "luminance": 0.40043
}

Semantic roles & 50–950 ramp

primary
#B2AE3A
secondary
#8386C4
accent
#52DA4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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