#B2A135#B2A135

#B2A135 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.4% C 0.126 H 100.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B2A135
RGBrgb(178, 161, 53)
HSLhsl(52, 54%, 45%)
HSVhsv(52, 70%, 70%)
CMYKcmyk(0%, 9.6%, 70.2%, 30.2%)
CIE-LABlab(65.91, -6.16, 55.78)
CIE-LCHlch(65.91, 56.12, 96.30°)
OKLaboklab(70.41% -0.0223 0.1245)
OKLCHoklch(70.41% 0.126 100.2)
XYZxyz(31.7490, 35.2132, 8.4920)
Luminance0.3521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A135 #3546B2
analogous
#B26235 #B2A135 #84B235
triadic
#B2A135 #35B2A1 #A135B2
tetradic
#B2A135 #35B262 #3546B2 #B23584
square
#B2A135 #35B262 #3546B2 #B23584
split-complementary
#B2A135 #3584B2 #6235B2
monochromatic
#544C19 #837627 #B2A135 #CDBD57 #DBD086

Accessibility & contrast

On white

2.61
#B2A135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#B2A135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A135
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A135#FFFFFF#000000##000000
##B2A1351.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C25
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#C0958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a135;
/* rgb */ color: rgb(178, 161, 53);
/* oklch */ color: oklch(70.4% 0.126 100.2);
Tailwind
colors: {
  custom: {
    50: '#ccbc73',
    500: '#b2a135',
    950: '#000000',
  },
}
SCSS
$custom: #b2a135;
$custom-light: #ccbc73;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a135",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 51.84,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70407,
    "c": 0.12647,
    "h": 100.2
  },
  "luminance": 0.35212
}

Semantic roles & 50–950 ramp

primary
#B2A135
secondary
#7E88C5
accent
#5EDD4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A135

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

Preview Lab → · Contrast checker → · Palette generator →

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