#B3A234#B3A234

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

Color values

HEX#B3A234
RGBrgb(179, 162, 52)
HSLhsl(52, 55%, 45%)
HSVhsv(52, 71%, 70%)
CMYKcmyk(0%, 9.5%, 70.9%, 29.8%)
CIE-LABlab(66.27, -6.30, 56.56)
CIE-LCHlch(66.27, 56.91, 96.35°)
OKLaboklab(70.71% -0.0229 0.1259)
OKLCHoklch(70.71% 0.128 100.3)
XYZxyz(32.1320, 35.6738, 8.4414)
Luminance0.3567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A234 #3445B3
analogous
#B36334 #B3A234 #84B334
triadic
#B3A234 #34B3A2 #A234B3
tetradic
#B3A234 #34B363 #3445B3 #B33484
square
#B3A234 #34B363 #3445B3 #B33484
split-complementary
#B3A234 #3484B3 #6334B3
monochromatic
#544C18 #847726 #B3A234 #CEBE56 #DCD086

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A234#FFFFFF#000000##000000
##B3A2341.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)
#B19D23
Deuteranopia (green-blind)
#B6A43B
Tritanopia (blue-blind)
#C1968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a234;
/* rgb */ color: rgb(179, 162, 52);
/* oklch */ color: oklch(70.7% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#cdbd72',
    500: '#b3a234',
    950: '#000000',
  },
}
SCSS
$custom: #b3a234;
$custom-light: #cdbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a234",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 51.969,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70709,
    "c": 0.12798,
    "h": 100.3
  },
  "luminance": 0.35672
}

Semantic roles & 50–950 ramp

primary
#B3A234
secondary
#7D87C5
accent
#5DDE49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A234

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

Preview Lab → · Contrast checker → · Palette generator →

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