#B1A335#B1A335

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

Color values

HEX#B1A335
RGBrgb(177, 163, 53)
HSLhsl(53, 54%, 45%)
HSVhsv(53, 70%, 69%)
CMYKcmyk(0%, 7.9%, 70.1%, 30.6%)
CIE-LABlab(66.37, -7.66, 56.20)
CIE-LCHlch(66.37, 56.72, 97.76°)
OKLaboklab(70.74% -0.0265 0.1254)
OKLCHoklch(70.74% 0.128 101.9)
XYZxyz(31.8726, 35.7999, 8.5987)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A335 #3543B1
analogous
#B16535 #B1A335 #81B135
triadic
#B1A335 #35B1A3 #A335B1
tetradic
#B1A335 #35B165 #3543B1 #B13581
square
#B1A335 #35B165 #3543B1 #B13581
split-complementary
#B1A335 #3581B1 #6535B1
monochromatic
#534C19 #827827 #B1A335 #CDBF57 #DBD186

Accessibility & contrast

On white

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

On black

8.16
#B1A335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A335
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A335#FFFFFF#000000##000000
##B1A3351.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E25
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#BE978D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a335;
/* rgb */ color: rgb(177, 163, 53);
/* oklch */ color: oklch(70.7% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#ccbd73',
    500: '#b1a335',
    950: '#000000',
  },
}
SCSS
$custom: #b1a335;
$custom-light: #ccbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a335",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 53.226,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70744,
    "c": 0.12818,
    "h": 101.9
  },
  "luminance": 0.35799
}

Semantic roles & 50–950 ramp

primary
#B1A335
secondary
#7D85C4
accent
#5BDD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B1A335

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

Preview Lab → · Contrast checker → · Palette generator →

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