#B2AE48#B2AE48

#B2AE48 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.4% C 0.124 H 107.0°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#B2AE48
RGBrgb(178, 174, 72)
HSLhsl(58, 42%, 49%)
HSVhsv(58, 60%, 70%)
CMYKcmyk(0%, 2.2%, 59.6%, 30.2%)
CIE-LABlab(69.62, -11.79, 51.55)
CIE-LCHlch(69.62, 52.89, 102.88°)
OKLaboklab(73.4% -0.0362 0.1185)
OKLCHoklch(73.4% 0.124 107)
XYZxyz(34.6669, 40.2060, 12.0640)
Luminance0.4021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE48 #484CB2
analogous
#B27948 #B2AE48 #81B248
triadic
#B2AE48 #48B2AE #AE48B2
tetradic
#B2AE48 #48B279 #484CB2 #B24881
square
#B2AE48 #48B279 #484CB2 #B24881
split-complementary
#B2AE48 #4881B2 #7948B2
monochromatic
#5B5925 #868336 #B2AE48 #C6C371 #D7D59D

Accessibility & contrast

On white

2.32
#B2AE48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#B2AE48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AE48
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AE48#FFFFFF#000000##000000
##B2AE481.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83D
Deuteranopia (green-blind)
#BEAC4E
Tritanopia (blue-blind)
#BEA398
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae48;
/* rgb */ color: rgb(178, 174, 72);
/* oklch */ color: oklch(73.4% 0.124 107.0);
Tailwind
colors: {
  custom: {
    50: '#ccc57f',
    500: '#b2ae48',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae48;
$custom-light: #ccc57f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae48",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 72
  },
  "hsl": {
    "h": 57.736,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.734,
    "c": 0.1239,
    "h": 107
  },
  "luminance": 0.40205
}

Semantic roles & 50–950 ramp

primary
#B2AE48
secondary
#9294C4
accent
#5AD256
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AE48

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

Preview Lab → · Contrast checker → · Palette generator →

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