#B2AE47#B2AE47

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

Color values

HEX#B2AE47
RGBrgb(178, 174, 71)
HSLhsl(58, 43%, 49%)
HSVhsv(58, 60%, 70%)
CMYKcmyk(0%, 2.2%, 60.1%, 30.2%)
CIE-LABlab(69.61, -11.86, 51.99)
CIE-LCHlch(69.61, 53.33, 102.85°)
OKLaboklab(73.39% -0.0365 0.1193)
OKLCHoklch(73.39% 0.125 107)
XYZxyz(34.6346, 40.1931, 11.8936)
Luminance0.4019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE47 #474BB2
analogous
#B27947 #B2AE47 #81B247
triadic
#B2AE47 #47B2AE #AE47B2
tetradic
#B2AE47 #47B279 #474BB2 #B24781
square
#B2AE47 #47B279 #474BB2 #B24781
split-complementary
#B2AE47 #4781B2 #7947B2
monochromatic
#5B5824 #868336 #B2AE47 #C6C370 #D7D59C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AE47#FFFFFF#000000##000000
##B2AE471.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)
#BCA83B
Deuteranopia (green-blind)
#BEAC4D
Tritanopia (blue-blind)
#BEA398
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae47;
/* rgb */ color: rgb(178, 174, 71);
/* oklch */ color: oklch(73.4% 0.125 107.0);
Tailwind
colors: {
  custom: {
    50: '#ccc57e',
    500: '#b2ae47',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae47;
$custom-light: #ccc57e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae47",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 71
  },
  "hsl": {
    "h": 57.757,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73389,
    "c": 0.12476,
    "h": 107
  },
  "luminance": 0.40192
}

Semantic roles & 50–950 ramp

primary
#B2AE47
secondary
#9193C4
accent
#5AD355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AE47

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

Preview Lab → · Contrast checker → · Palette generator →

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