#B1A339#B1A339

#B1A339 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.125 H 101.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B1A339
RGBrgb(177, 163, 57)
HSLhsl(53, 51%, 46%)
HSVhsv(53, 68%, 69%)
CMYKcmyk(0%, 7.9%, 67.8%, 30.6%)
CIE-LABlab(66.40, -7.43, 54.61)
CIE-LCHlch(66.40, 55.11, 97.75°)
OKLaboklab(70.78% -0.0254 0.1227)
OKLCHoklch(70.78% 0.125 101.7)
XYZxyz(31.9685, 35.8383, 9.1037)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A339 #3947B1
analogous
#B16739 #B1A339 #83B139
triadic
#B1A339 #39B1A3 #A339B1
tetradic
#B1A339 #39B167 #3947B1 #B13983
square
#B1A339 #39B167 #3947B1 #B13983
split-complementary
#B1A339 #3983B1 #6739B1
monochromatic
#544E1B #83782A #B1A339 #CBBE5D #DAD08B

Accessibility & contrast

On white

2.57
#B1A339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B1A339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A339
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A339#FFFFFF#000000##000000
##B1A3391.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1a339;
/* rgb */ color: rgb(177, 163, 57);
/* oklch */ color: oklch(70.8% 0.125 101.7);
Tailwind
colors: {
  custom: {
    50: '#ccbd75',
    500: '#b1a339',
    950: '#000000',
  },
}
SCSS
$custom: #b1a339;
$custom-light: #ccbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a339",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 57
  },
  "hsl": {
    "h": 53,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70777,
    "c": 0.12534,
    "h": 101.7
  },
  "luminance": 0.35837
}

Semantic roles & 50–950 ramp

primary
#B1A339
secondary
#828AC4
accent
#5EDB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B1A339

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

Preview Lab → · Contrast checker → · Palette generator →

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