#B2AE34#B2AE34

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

Color values

HEX#B2AE34
RGBrgb(178, 174, 52)
HSLhsl(58, 55%, 45%)
HSVhsv(58, 71%, 70%)
CMYKcmyk(0%, 2.2%, 70.8%, 30.2%)
CIE-LABlab(69.46, -13.02, 59.68)
CIE-LCHlch(69.46, 61.08, 102.30°)
OKLaboklab(73.22% -0.0418 0.1325)
OKLCHoklch(73.22% 0.139 107.5)
XYZxyz(34.1173, 39.9862, 9.1691)
Luminance0.3998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE34 #3438B2
analogous
#B26F34 #B2AE34 #77B234
triadic
#B2AE34 #34B2AE #AE34B2
tetradic
#B2AE34 #34B26F #3438B2 #B23477
square
#B2AE34 #34B26F #3438B2 #B23477
split-complementary
#B2AE34 #3477B2 #6F34B2
monochromatic
#535118 #838026 #B2AE34 #CECA56 #DBD985

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AE34#FFFFFF#000000##000000
##B2AE341.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)
#BDA71F
Deuteranopia (green-blind)
#BFAC3D
Tritanopia (blue-blind)
#BFA396
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae34;
/* rgb */ color: rgb(178, 174, 52);
/* oklch */ color: oklch(73.2% 0.139 107.5);
Tailwind
colors: {
  custom: {
    50: '#ccc574',
    500: '#b2ae34',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae34;
$custom-light: #ccc574;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae34",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 52
  },
  "hsl": {
    "h": 58.095,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73225,
    "c": 0.13898,
    "h": 107.5
  },
  "luminance": 0.39985
}

Semantic roles & 50–950 ramp

primary
#B2AE34
secondary
#7D7FC5
accent
#4EDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2AE34

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

Preview Lab → · Contrast checker → · Palette generator →

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