#B2A32F#B2A32F

#B2A32F is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.132 H 101.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B2A32F
RGBrgb(178, 163, 47)
HSLhsl(53, 58%, 44%)
HSVhsv(53, 74%, 70%)
CMYKcmyk(0%, 8.4%, 73.6%, 30.2%)
CIE-LABlab(66.42, -7.51, 58.59)
CIE-LCHlch(66.42, 59.07, 97.31°)
OKLaboklab(70.79% -0.0268 0.1293)
OKLCHoklch(70.79% 0.132 101.7)
XYZxyz(31.9718, 35.8660, 7.9275)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A32F #2F3EB2
analogous
#B2622F #B2A32F #80B22F
triadic
#B2A32F #2FB2A3 #A32FB2
tetradic
#B2A32F #2FB262 #2F3EB2 #B22F80
square
#B2A32F #2FB262 #2F3EB2 #B22F80
split-complementary
#B2A32F #2F80B2 #622FB2
monochromatic
#514A15 #827722 #B2A32F #D0C14E #DDD27E

Accessibility & contrast

On white

2.57
#B2A32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B2A32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A32F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A32F#FFFFFF#000000##000000
##B2A32F1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1A
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#C0978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a32f;
/* rgb */ color: rgb(178, 163, 47);
/* oklch */ color: oklch(70.8% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#cdbd70',
    500: '#b2a32f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a32f;
$custom-light: #cdbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a32f",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 53.13,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70794,
    "c": 0.13206,
    "h": 101.7
  },
  "luminance": 0.35865
}

Semantic roles & 50–950 ramp

primary
#B2A32F
secondary
#7780C6
accent
#58E146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A32F

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

Preview Lab → · Contrast checker → · Palette generator →

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