#B2AE4C#B2AE4C

#B2AE4C is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.4% C 0.120 H 106.9°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#B2AE4C
RGBrgb(178, 174, 76)
HSLhsl(58, 40%, 50%)
HSVhsv(58, 57%, 70%)
CMYKcmyk(0%, 2.2%, 57.3%, 30.2%)
CIE-LABlab(69.65, -11.50, 49.77)
CIE-LCHlch(69.65, 51.08, 103.00°)
OKLaboklab(73.44% -0.0349 0.1152)
OKLCHoklch(73.44% 0.12 106.9)
XYZxyz(34.8017, 40.2599, 12.7738)
Luminance0.4026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE4C #4C50B2
analogous
#B27B4C #B2AE4C #83B24C
triadic
#B2AE4C #4CB2AE #AE4CB2
tetradic
#B2AE4C #4CB27B #4C50B2 #B24C83
square
#B2AE4C #4CB27B #4C50B2 #B24C83
split-complementary
#B2AE4C #4C83B2 #7B4CB2
monochromatic
#5C5A27 #87843A #B2AE4C #C5C276 #D7D5A1

Accessibility & contrast

On white

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

On black

9.05
#B2AE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AE4C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AE4C#FFFFFF#000000##000000
##B2AE4C1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA842
Deuteranopia (green-blind)
#BDAC51
Tritanopia (blue-blind)
#BEA499
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae4c;
/* rgb */ color: rgb(178, 174, 76);
/* oklch */ color: oklch(73.4% 0.120 106.9);
Tailwind
colors: {
  custom: {
    50: '#cbc682',
    500: '#b2ae4c',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae4c;
$custom-light: #cbc682;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae4c",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 76
  },
  "hsl": {
    "h": 57.647,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73442,
    "c": 0.12038,
    "h": 106.9
  },
  "luminance": 0.40259
}

Semantic roles & 50–950 ramp

primary
#B2AE4C
secondary
#9698C4
accent
#5CD058
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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