#B2AE35#B2AE35

#B2AE35 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.2% C 0.138 H 107.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#B2AE35
RGBrgb(178, 174, 53)
HSLhsl(58, 54%, 45%)
HSVhsv(58, 70%, 70%)
CMYKcmyk(0%, 2.2%, 70.2%, 30.2%)
CIE-LABlab(69.47, -12.97, 59.31)
CIE-LCHlch(69.47, 60.71, 102.33°)
OKLaboklab(73.23% -0.0416 0.1319)
OKLCHoklch(73.23% 0.138 107.5)
XYZxyz(34.1400, 39.9953, 9.2890)
Luminance0.3999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE35 #3539B2
analogous
#B26F35 #B2AE35 #77B235
triadic
#B2AE35 #35B2AE #AE35B2
tetradic
#B2AE35 #35B26F #3539B2 #B23577
square
#B2AE35 #35B26F #3539B2 #B23577
split-complementary
#B2AE35 #3577B2 #6F35B2
monochromatic
#545219 #838027 #B2AE35 #CDC957 #DBD886

Accessibility & contrast

On white

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

On black

9.00
#B2AE35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AE35
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AE35#FFFFFF#000000##000000
##B2AE351.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA721
Deuteranopia (green-blind)
#BFAC3D
Tritanopia (blue-blind)
#BFA396
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae35;
/* rgb */ color: rgb(178, 174, 53);
/* oklch */ color: oklch(73.2% 0.138 107.5);
Tailwind
colors: {
  custom: {
    50: '#ccc574',
    500: '#b2ae35',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae35;
$custom-light: #ccc574;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae35",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 53
  },
  "hsl": {
    "h": 58.08,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73232,
    "c": 0.13833,
    "h": 107.5
  },
  "luminance": 0.39994
}

Semantic roles & 50–950 ramp

primary
#B2AE35
secondary
#7E80C5
accent
#4FDD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2AE35

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

Preview Lab → · Contrast checker → · Palette generator →

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