#B2AE2B#B2AE2B

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

Color values

HEX#B2AE2B
RGBrgb(178, 174, 43)
HSLhsl(58, 61%, 43%)
HSVhsv(58, 76%, 70%)
CMYKcmyk(0%, 2.2%, 75.8%, 30.2%)
CIE-LABlab(69.41, -13.43, 62.79)
CIE-LCHlch(69.41, 64.21, 102.07°)
OKLaboklab(73.17% -0.0438 0.1375)
OKLCHoklch(73.17% 0.144 107.7)
XYZxyz(33.9335, 39.9127, 8.2015)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE2B #2B2FB2
analogous
#B26A2B #B2AE2B #72B22B
triadic
#B2AE2B #2BB2AE #AE2BB2
tetradic
#B2AE2B #2BB26A #2B2FB2 #B22B72
square
#B2AE2B #2BB26A #2B2FB2 #B22B72
split-complementary
#B2AE2B #2B72B2 #6A2BB2
monochromatic
#4F4E13 #817E1F #B2AE2B #D3CF48 #DFDC79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AE2B#FFFFFF#000000##000000
##B2AE2B1.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)
#BDA70B
Deuteranopia (green-blind)
#BFAC36
Tritanopia (blue-blind)
#BFA295
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ae2b;
/* rgb */ color: rgb(178, 174, 43);
/* oklch */ color: oklch(73.2% 0.144 107.7);
Tailwind
colors: {
  custom: {
    50: '#cdc56f',
    500: '#b2ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae2b;
$custom-light: #cdc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae2b",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 58.222,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73166,
    "c": 0.14429,
    "h": 107.7
  },
  "luminance": 0.39911
}

Semantic roles & 50–950 ramp

primary
#B2AE2B
secondary
#7275C7
accent
#48E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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