#B3A239#B3A239

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

Color values

HEX#B3A239
RGBrgb(179, 162, 57)
HSLhsl(52, 52%, 46%)
HSVhsv(52, 68%, 70%)
CMYKcmyk(0%, 9.5%, 68.2%, 29.8%)
CIE-LABlab(66.31, -6.03, 54.57)
CIE-LCHlch(66.31, 54.91, 96.30°)
OKLaboklab(70.75% -0.0216 0.1226)
OKLCHoklch(70.75% 0.124 100)
XYZxyz(32.2507, 35.7212, 9.0662)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A239 #394AB3
analogous
#B36539 #B3A239 #87B339
triadic
#B3A239 #39B3A2 #A239B3
tetradic
#B3A239 #39B365 #394AB3 #B33987
square
#B3A239 #39B365 #394AB3 #B33987
split-complementary
#B3A239 #3987B3 #6539B3
monochromatic
#564E1B #85782A #B3A239 #CCBC5E #DACF8C

Accessibility & contrast

On white

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

On black

8.14
#B3A239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A239
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A239#FFFFFF#000000##000000
##B3A2391.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E2B
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#C1968D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a239;
/* rgb */ color: rgb(179, 162, 57);
/* oklch */ color: oklch(70.7% 0.124 100.0);
Tailwind
colors: {
  custom: {
    50: '#cdbd75',
    500: '#b3a239',
    950: '#000000',
  },
}
SCSS
$custom: #b3a239;
$custom-light: #cdbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a239",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 51.639,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70749,
    "c": 0.12447,
    "h": 100
  },
  "luminance": 0.3572
}

Semantic roles & 50–950 ramp

primary
#B3A239
secondary
#838CC5
accent
#61DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3A239

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

Preview Lab → · Contrast checker → · Palette generator →

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