#B2A33D#B2A33D

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

Color values

HEX#B2A33D
RGBrgb(178, 163, 61)
HSLhsl(52, 49%, 47%)
HSVhsv(52, 66%, 70%)
CMYKcmyk(0%, 8.4%, 65.7%, 30.2%)
CIE-LABlab(66.52, -6.76, 53.07)
CIE-LCHlch(66.52, 53.50, 97.26°)
OKLaboklab(70.91% -0.0231 0.1201)
OKLCHoklch(70.91% 0.122 100.9)
XYZxyz(32.3009, 35.9977, 9.6608)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A33D #3D4CB2
analogous
#B2693D #B2A33D #87B23D
triadic
#B2A33D #3DB2A3 #A33DB2
tetradic
#B2A33D #3DB269 #3D4CB2 #B23D87
square
#B2A33D #3DB269 #3D4CB2 #B23D87
split-complementary
#B2A33D #3D87B2 #693DB2
monochromatic
#57501E #84792D #B2A33D #C9BC63 #D9D090

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A33D#FFFFFF#000000##000000
##B2A33D1.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)
#B29E30
Deuteranopia (green-blind)
#B6A443
Tritanopia (blue-blind)
#BF988E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a33d;
/* rgb */ color: rgb(178, 163, 61);
/* oklch */ color: oklch(70.9% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#ccbe78',
    500: '#b2a33d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a33d;
$custom-light: #ccbe78;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a33d",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 61
  },
  "hsl": {
    "h": 52.308,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.70906,
    "c": 0.12232,
    "h": 100.9
  },
  "luminance": 0.35996
}

Semantic roles & 50–950 ramp

primary
#B2A33D
secondary
#878FC4
accent
#61D94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A33D

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

Preview Lab → · Contrast checker → · Palette generator →

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