#B2AE2A#B2AE2A

#B2AE2A is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.2% C 0.145 H 107.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B2AE2A
RGBrgb(178, 174, 42)
HSLhsl(58, 62%, 43%)
HSVhsv(58, 76%, 70%)
CMYKcmyk(0%, 2.2%, 76.4%, 30.2%)
CIE-LABlab(69.40, -13.47, 63.11)
CIE-LCHlch(69.40, 64.53, 102.05°)
OKLaboklab(73.16% -0.044 0.138)
OKLCHoklch(73.16% 0.145 107.7)
XYZxyz(33.9154, 39.9054, 8.1060)
Luminance0.3990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE2A #2A2EB2
analogous
#B26A2A #B2AE2A #72B22A
triadic
#B2AE2A #2AB2AE #AE2AB2
tetradic
#B2AE2A #2AB26A #2A2EB2 #B22A72
square
#B2AE2A #2AB26A #2A2EB2 #B22A72
split-complementary
#B2AE2A #2A72B2 #6A2AB2
monochromatic
#4F4D13 #807E1E #B2AE2A #D3CF46 #DFDC77

Accessibility & contrast

On white

2.34
#B2AE2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#B2AE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AE2A
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AE2A#FFFFFF#000000##000000
##B2AE2A1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA707
Deuteranopia (green-blind)
#BFAC35
Tritanopia (blue-blind)
#BFA295
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ae2a;
/* rgb */ color: rgb(178, 174, 42);
/* oklch */ color: oklch(73.2% 0.145 107.7);
Tailwind
colors: {
  custom: {
    50: '#cdc56f',
    500: '#b2ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae2a;
$custom-light: #cdc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae2a",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 58.235,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73161,
    "c": 0.14482,
    "h": 107.7
  },
  "luminance": 0.39904
}

Semantic roles & 50–950 ramp

primary
#B2AE2A
secondary
#7174C7
accent
#48E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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