#B2AE39#B2AE39

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

Color values

HEX#B2AE39
RGBrgb(178, 174, 57)
HSLhsl(58, 51%, 46%)
HSVhsv(58, 68%, 70%)
CMYKcmyk(0%, 2.2%, 68%, 30.2%)
CIE-LABlab(69.49, -12.75, 57.79)
CIE-LCHlch(69.49, 59.18, 102.44°)
OKLaboklab(73.26% -0.0405 0.1294)
OKLCHoklch(73.26% 0.136 107.4)
XYZxyz(34.2359, 40.0336, 9.7939)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE39 #393DB2
analogous
#B27139 #B2AE39 #79B239
triadic
#B2AE39 #39B2AE #AE39B2
tetradic
#B2AE39 #39B271 #393DB2 #B23979
square
#B2AE39 #39B271 #393DB2 #B23979
split-complementary
#B2AE39 #3979B2 #7139B2
monochromatic
#55531B #84812A #B2AE39 #CBC85D #DAD78B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AE39#FFFFFF#000000##000000
##B2AE391.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)
#BCA728
Deuteranopia (green-blind)
#BFAC41
Tritanopia (blue-blind)
#BFA396
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae39;
/* rgb */ color: rgb(178, 174, 57);
/* oklch */ color: oklch(73.3% 0.136 107.4);
Tailwind
colors: {
  custom: {
    50: '#ccc576',
    500: '#b2ae39',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae39;
$custom-light: #ccc576;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae39",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 57
  },
  "hsl": {
    "h": 58.017,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73263,
    "c": 0.13562,
    "h": 107.4
  },
  "luminance": 0.40032
}

Semantic roles & 50–950 ramp

primary
#B2AE39
secondary
#8285C4
accent
#52DB4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AE39

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

Preview Lab → · Contrast checker → · Palette generator →

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