#B2A635#B2A635

#B2A635 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.131 H 103.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B2A635
RGBrgb(178, 166, 53)
HSLhsl(54, 54%, 45%)
HSVhsv(54, 70%, 70%)
CMYKcmyk(0%, 6.7%, 70.2%, 30.2%)
CIE-LABlab(67.27, -8.80, 57.14)
CIE-LCHlch(67.27, 57.81, 98.75°)
OKLaboklab(71.49% -0.0298 0.1274)
OKLCHoklch(71.49% 0.131 103.2)
XYZxyz(32.6403, 36.9958, 8.7891)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A635 #3541B2
analogous
#B26735 #B2A635 #7FB235
triadic
#B2A635 #35B2A6 #A635B2
tetradic
#B2A635 #35B267 #3541B2 #B2357F
square
#B2A635 #35B267 #3541B2 #B2357F
split-complementary
#B2A635 #357FB2 #6735B2
monochromatic
#544E19 #837A27 #B2A635 #CDC257 #DBD386

Accessibility & contrast

On white

2.50
#B2A635 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B2A635 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A635
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A635#FFFFFF#000000##000000
##B2A6351.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A124
Deuteranopia (green-blind)
#B9A63C
Tritanopia (blue-blind)
#BF9A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a635;
/* rgb */ color: rgb(178, 166, 53);
/* oklch */ color: oklch(71.5% 0.131 103.2);
Tailwind
colors: {
  custom: {
    50: '#ccc073',
    500: '#b2a635',
    950: '#000000',
  },
}
SCSS
$custom: #b2a635;
$custom-light: #ccc073;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a635",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 53
  },
  "hsl": {
    "h": 54.24,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71487,
    "c": 0.13079,
    "h": 103.2
  },
  "luminance": 0.36994
}

Semantic roles & 50–950 ramp

primary
#B2A635
secondary
#7E85C5
accent
#58DD4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A635

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

Preview Lab → · Contrast checker → · Palette generator →

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