#B2AE40#B2AE40

#B2AE40 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.3% C 0.130 H 107.2°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#B2AE40
RGBrgb(178, 174, 64)
HSLhsl(58, 47%, 47%)
HSVhsv(58, 64%, 70%)
CMYKcmyk(0%, 2.2%, 64%, 30.2%)
CIE-LABlab(69.55, -12.33, 54.98)
CIE-LCHlch(69.55, 56.34, 102.65°)
OKLaboklab(73.32% -0.0386 0.1246)
OKLCHoklch(73.32% 0.13 107.2)
XYZxyz(34.4227, 40.1083, 10.7779)
Luminance0.4011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE40 #4044B2
analogous
#B27540 #B2AE40 #7DB240
triadic
#B2AE40 #40B2AE #AE40B2
tetradic
#B2AE40 #40B275 #4044B2 #B2407D
square
#B2AE40 #40B275 #4044B2 #B2407D
split-complementary
#B2AE40 #407DB2 #7540B2
monochromatic
#585620 #858230 #B2AE40 #C8C567 #D8D694

Accessibility & contrast

On white

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

On black

9.02
#B2AE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AE40
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AE40#FFFFFF#000000##000000
##B2AE401.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA732
Deuteranopia (green-blind)
#BEAC47
Tritanopia (blue-blind)
#BEA397
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae40;
/* rgb */ color: rgb(178, 174, 64);
/* oklch */ color: oklch(73.3% 0.130 107.2);
Tailwind
colors: {
  custom: {
    50: '#ccc57a',
    500: '#b2ae40',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae40;
$custom-light: #ccc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae40",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 57.895,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73322,
    "c": 0.13046,
    "h": 107.2
  },
  "luminance": 0.40107
}

Semantic roles & 50–950 ramp

primary
#B2AE40
secondary
#8A8CC4
accent
#56D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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