#B3A231#B3A231

#B3A231 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.130 H 100.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B3A231
RGBrgb(179, 162, 49)
HSLhsl(52, 57%, 45%)
HSVhsv(52, 73%, 70%)
CMYKcmyk(0%, 9.5%, 72.6%, 29.8%)
CIE-LABlab(66.25, -6.45, 57.71)
CIE-LCHlch(66.25, 58.07, 96.38°)
OKLaboklab(70.69% -0.0236 0.1278)
OKLCHoklch(70.69% 0.13 100.5)
XYZxyz(32.0666, 35.6476, 8.0967)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A231 #3142B3
analogous
#B36131 #B3A231 #83B331
triadic
#B3A231 #31B3A2 #A231B3
tetradic
#B3A231 #31B361 #3142B3 #B33183
square
#B3A231 #31B361 #3142B3 #B33183
split-complementary
#B3A231 #3183B3 #6131B3
monochromatic
#534B17 #837724 #B3A231 #D0BF52 #DDD182

Accessibility & contrast

On white

2.58
#B3A231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B3A231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A231
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A231#FFFFFF#000000##000000
##B3A2311.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D1E
Deuteranopia (green-blind)
#B6A438
Tritanopia (blue-blind)
#C1968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a231;
/* rgb */ color: rgb(179, 162, 49);
/* oklch */ color: oklch(70.7% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#cdbd71',
    500: '#b3a231',
    950: '#000000',
  },
}
SCSS
$custom: #b3a231;
$custom-light: #cdbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a231",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 52.154,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70686,
    "c": 0.12995,
    "h": 100.5
  },
  "luminance": 0.35646
}

Semantic roles & 50–950 ramp

primary
#B3A231
secondary
#7A84C6
accent
#5BE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A231

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

Preview Lab → · Contrast checker → · Palette generator →

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