#B2AA2E#B2AA2E

#B2AA2E is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.3% C 0.139 H 105.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B2AA2E
RGBrgb(178, 170, 46)
HSLhsl(56, 59%, 44%)
HSVhsv(56, 74%, 70%)
CMYKcmyk(0%, 4.5%, 74.2%, 30.2%)
CIE-LABlab(68.32, -11.23, 60.76)
CIE-LCHlch(68.32, 61.79, 100.47°)
OKLaboklab(72.31% -0.0374 0.1337)
OKLCHoklch(72.31% 0.139 105.6)
XYZxyz(33.2293, 38.4129, 8.2483)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA2E #2E36B2
analogous
#B2682E #B2AA2E #78B22E
triadic
#B2AA2E #2EB2AA #AA2EB2
tetradic
#B2AA2E #2EB268 #2E36B2 #B22E78
square
#B2AA2E #2EB268 #2E36B2 #B22E78
split-complementary
#B2AA2E #2E78B2 #682EB2
monochromatic
#514D15 #817C21 #B2AA2E #D1C94C #DDD87D

Accessibility & contrast

On white

2.42
#B2AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#B2AA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA2E
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA2E#FFFFFF#000000##000000
##B2AA2E1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A415
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#BF9E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa2e;
/* rgb */ color: rgb(178, 170, 46);
/* oklch */ color: oklch(72.3% 0.139 105.6);
Tailwind
colors: {
  custom: {
    50: '#cdc370',
    500: '#b2aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa2e;
$custom-light: #cdc370;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa2e",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 56.364,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72308,
    "c": 0.13886,
    "h": 105.6
  },
  "luminance": 0.38412
}

Semantic roles & 50–950 ramp

primary
#B2AA2E
secondary
#767BC6
accent
#4FE246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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