#B2AA3E#B2AA3E

#B2AA3E is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.4% C 0.128 H 105.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#B2AA3E
RGBrgb(178, 170, 62)
HSLhsl(56, 48%, 47%)
HSVhsv(56, 65%, 70%)
CMYKcmyk(0%, 4.5%, 65.2%, 30.2%)
CIE-LABlab(68.43, -10.38, 54.65)
CIE-LCHlch(68.43, 55.63, 100.75°)
OKLaboklab(72.43% -0.0333 0.1236)
OKLCHoklch(72.43% 0.128 105.1)
XYZxyz(33.6056, 38.5634, 10.2298)
Luminance0.3856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA3E #3E46B2
analogous
#B2703E #B2AA3E #80B23E
triadic
#B2AA3E #3EB2AA #AA3EB2
tetradic
#B2AA3E #3EB270 #3E46B2 #B23E80
square
#B2AA3E #3EB270 #3E46B2 #B23E80
split-complementary
#B2AA3E #3E80B2 #703EB2
monochromatic
#57531E #857F2E #B2AA3E #C9C264 #D9D492

Accessibility & contrast

On white

2.41
#B2AA3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#B2AA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA3E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA3E#FFFFFF#000000##000000
##B2AA3E1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A430
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#BF9F94
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa3e;
/* rgb */ color: rgb(178, 170, 62);
/* oklch */ color: oklch(72.4% 0.128 105.1);
Tailwind
colors: {
  custom: {
    50: '#ccc379',
    500: '#b2aa3e',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa3e;
$custom-light: #ccc379;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa3e",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 62
  },
  "hsl": {
    "h": 55.862,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72431,
    "c": 0.12802,
    "h": 105.1
  },
  "luminance": 0.38562
}

Semantic roles & 50–950 ramp

primary
#B2AA3E
secondary
#888CC4
accent
#59D850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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