#B2A636#B2A636

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

Color values

HEX#B2A636
RGBrgb(178, 166, 54)
HSLhsl(54, 53%, 45%)
HSVhsv(54, 70%, 70%)
CMYKcmyk(0%, 6.7%, 69.7%, 30.2%)
CIE-LABlab(67.28, -8.75, 56.75)
CIE-LCHlch(67.28, 57.42, 98.76°)
OKLaboklab(71.49% -0.0296 0.1267)
OKLCHoklch(71.49% 0.13 103.1)
XYZxyz(32.6635, 37.0051, 8.9115)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A636 #3642B2
analogous
#B26836 #B2A636 #80B236
triadic
#B2A636 #36B2A6 #A636B2
tetradic
#B2A636 #36B268 #3642B2 #B23680
square
#B2A636 #36B268 #3642B2 #B23680
split-complementary
#B2A636 #3680B2 #6836B2
monochromatic
#544E1A #837A28 #B2A636 #CDC159 #DBD388

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A636#FFFFFF#000000##000000
##B2A6361.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)
#B5A125
Deuteranopia (green-blind)
#B9A63D
Tritanopia (blue-blind)
#BF9B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a636;
/* rgb */ color: rgb(178, 166, 54);
/* oklch */ color: oklch(71.5% 0.130 103.1);
Tailwind
colors: {
  custom: {
    50: '#ccc074',
    500: '#b2a636',
    950: '#000000',
  },
}
SCSS
$custom: #b2a636;
$custom-light: #ccc074;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a636",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 54
  },
  "hsl": {
    "h": 54.194,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71494,
    "c": 0.13011,
    "h": 103.1
  },
  "luminance": 0.37004
}

Semantic roles & 50–950 ramp

primary
#B2A636
secondary
#7F86C5
accent
#59DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2A636

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

Preview Lab → · Contrast checker → · Palette generator →

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