#B1A235#B1A235

#B1A235 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.127 H 101.3°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B1A235
RGBrgb(177, 162, 53)
HSLhsl(53, 54%, 45%)
HSVhsv(53, 70%, 69%)
CMYKcmyk(0%, 8.5%, 70.1%, 30.6%)
CIE-LABlab(66.09, -7.13, 55.93)
CIE-LCHlch(66.09, 56.38, 97.26°)
OKLaboklab(70.53% -0.025 0.1248)
OKLCHoklch(70.53% 0.127 101.3)
XYZxyz(31.6958, 35.4462, 8.5397)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A235 #3544B1
analogous
#B16435 #B1A235 #82B135
triadic
#B1A235 #35B1A2 #A235B1
tetradic
#B1A235 #35B164 #3544B1 #B13582
square
#B1A235 #35B164 #3544B1 #B13582
split-complementary
#B1A235 #3582B1 #6435B1
monochromatic
#534C19 #827727 #B1A235 #CDBE57 #DBD086

Accessibility & contrast

On white

2.60
#B1A235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B1A235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A235
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A235#FFFFFF#000000##000000
##B1A2351.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D25
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#BE968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a235;
/* rgb */ color: rgb(177, 162, 53);
/* oklch */ color: oklch(70.5% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#ccbd73',
    500: '#b1a235',
    950: '#000000',
  },
}
SCSS
$custom: #b1a235;
$custom-light: #ccbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a235",
  "rgb": {
    "r": 177,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 52.742,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70528,
    "c": 0.12732,
    "h": 101.3
  },
  "luminance": 0.35445
}

Semantic roles & 50–950 ramp

primary
#B1A235
secondary
#7D86C4
accent
#5CDD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B1A235

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

Preview Lab → · Contrast checker → · Palette generator →

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