#B2A33F#B2A33F

#B2A33F is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.121 H 100.8°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B2A33F
RGBrgb(178, 163, 63)
HSLhsl(52, 48%, 47%)
HSVhsv(52, 65%, 70%)
CMYKcmyk(0%, 8.4%, 64.6%, 30.2%)
CIE-LABlab(66.53, -6.63, 52.22)
CIE-LCHlch(66.53, 52.64, 97.24°)
OKLaboklab(70.92% -0.0225 0.1186)
OKLCHoklch(70.92% 0.121 100.8)
XYZxyz(32.3558, 36.0196, 9.9498)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A33F #3F4EB2
analogous
#B26A3F #B2A33F #88B23F
triadic
#B2A33F #3FB2A3 #A33FB2
tetradic
#B2A33F #3FB26A #3F4EB2 #B23F88
square
#B2A33F #3FB26A #3F4EB2 #B23F88
split-complementary
#B2A33F #3F88B2 #6A3FB2
monochromatic
#58501F #857A2F #B2A33F #C9BC66 #D9D093

Accessibility & contrast

On white

2.56
#B2A33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#B2A33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A33F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A33F#FFFFFF#000000##000000
##B2A33F1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E33
Deuteranopia (green-blind)
#B6A444
Tritanopia (blue-blind)
#BF988E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a33f;
/* rgb */ color: rgb(178, 163, 63);
/* oklch */ color: oklch(70.9% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#ccbe79',
    500: '#b2a33f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a33f;
$custom-light: #ccbe79;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a33f",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 63
  },
  "hsl": {
    "h": 52.174,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70924,
    "c": 0.12074,
    "h": 100.8
  },
  "luminance": 0.36018
}

Semantic roles & 50–950 ramp

primary
#B2A33F
secondary
#8991C4
accent
#62D750
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A33F

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

Preview Lab → · Contrast checker → · Palette generator →

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