#B2A643#B2A643

#B2A643 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.120 H 102.4°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#B2A643
RGBrgb(178, 166, 67)
HSLhsl(54, 45%, 48%)
HSVhsv(54, 62%, 70%)
CMYKcmyk(0%, 6.7%, 62.4%, 30.2%)
CIE-LABlab(67.38, -7.96, 51.36)
CIE-LCHlch(67.38, 51.97, 98.81°)
OKLaboklab(71.61% -0.0258 0.1174)
OKLCHoklch(71.61% 0.12 102.4)
XYZxyz(33.0107, 37.1439, 10.7398)
Luminance0.3714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A643 #434FB2
analogous
#B26F43 #B2A643 #86B243
triadic
#B2A643 #43B2A6 #A643B2
tetradic
#B2A643 #43B26F #434FB2 #B24386
square
#B2A643 #43B26F #434FB2 #B24386
split-complementary
#B2A643 #4386B2 #6F43B2
monochromatic
#595322 #867D32 #B2A643 #C7BD6B #D8D197

Accessibility & contrast

On white

2.49
#B2A643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#B2A643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A643
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A643#FFFFFF#000000##000000
##B2A6431.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A138
Deuteranopia (green-blind)
#B8A648
Tritanopia (blue-blind)
#BF9B91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a643;
/* rgb */ color: rgb(178, 166, 67);
/* oklch */ color: oklch(71.6% 0.120 102.4);
Tailwind
colors: {
  custom: {
    50: '#ccc07b',
    500: '#b2a643',
    950: '#000000',
  },
}
SCSS
$custom: #b2a643;
$custom-light: #ccc07b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a643",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 67
  },
  "hsl": {
    "h": 53.514,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7161,
    "c": 0.1202,
    "h": 102.4
  },
  "luminance": 0.37143
}

Semantic roles & 50–950 ramp

primary
#B2A643
secondary
#8D93C4
accent
#61D553
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A643

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

Preview Lab → · Contrast checker → · Palette generator →

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