#B2AE2F#B2AE2F

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

Color values

HEX#B2AE2F
RGBrgb(178, 174, 47)
HSLhsl(58, 58%, 44%)
HSVhsv(58, 74%, 70%)
CMYKcmyk(0%, 2.2%, 73.6%, 30.2%)
CIE-LABlab(69.43, -13.26, 61.46)
CIE-LCHlch(69.43, 62.87, 102.17°)
OKLaboklab(73.19% -0.043 0.1354)
OKLCHoklch(73.19% 0.142 107.6)
XYZxyz(34.0106, 39.9435, 8.6071)
Luminance0.3994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE2F #2F33B2
analogous
#B26D2F #B2AE2F #75B22F
triadic
#B2AE2F #2FB2AE #AE2FB2
tetradic
#B2AE2F #2FB26D #2F33B2 #B22F75
square
#B2AE2F #2FB26D #2F33B2 #B22F75
split-complementary
#B2AE2F #2F75B2 #6D2FB2
monochromatic
#514F15 #827F22 #B2AE2F #D0CC4E #DDDA7E

Accessibility & contrast

On white

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

On black

8.99
#B2AE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AE2F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AE2F#FFFFFF#000000##000000
##B2AE2F1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA716
Deuteranopia (green-blind)
#BFAC39
Tritanopia (blue-blind)
#BFA296
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae2f;
/* rgb */ color: rgb(178, 174, 47);
/* oklch */ color: oklch(73.2% 0.142 107.6);
Tailwind
colors: {
  custom: {
    50: '#cdc571',
    500: '#b2ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae2f;
$custom-light: #cdc571;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae2f",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 58.168,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73191,
    "c": 0.14204,
    "h": 107.6
  },
  "luminance": 0.39942
}

Semantic roles & 50–950 ramp

primary
#B2AE2F
secondary
#7779C6
accent
#4BE146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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