#B2A633#B2A633

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

Color values

HEX#B2A633
RGBrgb(178, 166, 51)
HSLhsl(54, 55%, 45%)
HSVhsv(54, 71%, 70%)
CMYKcmyk(0%, 6.7%, 71.3%, 30.2%)
CIE-LABlab(67.26, -8.90, 57.90)
CIE-LCHlch(67.26, 58.58, 98.74°)
OKLaboklab(71.47% -0.0303 0.1286)
OKLCHoklch(71.47% 0.132 103.3)
XYZxyz(32.5952, 36.9778, 8.5518)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A633 #333FB2
analogous
#B26733 #B2A633 #7EB233
triadic
#B2A633 #33B2A6 #A633B2
tetradic
#B2A633 #33B267 #333FB2 #B2337E
square
#B2A633 #33B267 #333FB2 #B2337E
split-complementary
#B2A633 #337EB2 #6733B2
monochromatic
#534D18 #827A25 #B2A633 #CEC354 #DCD384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A633#FFFFFF#000000##000000
##B2A6331.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)
#B5A120
Deuteranopia (green-blind)
#B9A63B
Tritanopia (blue-blind)
#BF9A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a633;
/* rgb */ color: rgb(178, 166, 51);
/* oklch */ color: oklch(71.5% 0.132 103.3);
Tailwind
colors: {
  custom: {
    50: '#ccc072',
    500: '#b2a633',
    950: '#000000',
  },
}
SCSS
$custom: #b2a633;
$custom-light: #ccc072;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a633",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 51
  },
  "hsl": {
    "h": 54.331,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71472,
    "c": 0.13213,
    "h": 103.3
  },
  "luminance": 0.36976
}

Semantic roles & 50–950 ramp

primary
#B2A633
secondary
#7C83C5
accent
#57DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A633

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

Preview Lab → · Contrast checker → · Palette generator →

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