#B2A63C#B2A63C

#B2A63C is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.5% C 0.126 H 102.8°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#B2A63C
RGBrgb(178, 166, 60)
HSLhsl(54, 50%, 47%)
HSVhsv(54, 66%, 70%)
CMYKcmyk(0%, 6.7%, 66.3%, 30.2%)
CIE-LABlab(67.33, -8.41, 54.34)
CIE-LCHlch(67.33, 54.99, 98.79°)
OKLaboklab(71.54% -0.0279 0.1226)
OKLCHoklch(71.54% 0.126 102.8)
XYZxyz(32.8132, 37.0650, 9.6999)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A63C #3C48B2
analogous
#B26B3C #B2A63C #83B23C
triadic
#B2A63C #3CB2A6 #A63CB2
tetradic
#B2A63C #3CB26B #3C48B2 #B23C83
square
#B2A63C #3CB26B #3C48B2 #B23C83
split-complementary
#B2A63C #3C83B2 #6B3CB2
monochromatic
#56511D #847B2D #B2A63C #CABF61 #D9D28F

Accessibility & contrast

On white

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

On black

8.41
#B2A63C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A63C
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A63C#FFFFFF#000000##000000
##B2A63C1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12E
Deuteranopia (green-blind)
#B8A642
Tritanopia (blue-blind)
#BF9B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a63c;
/* rgb */ color: rgb(178, 166, 60);
/* oklch */ color: oklch(71.5% 0.126 102.8);
Tailwind
colors: {
  custom: {
    50: '#ccc077',
    500: '#b2a63c',
    950: '#000000',
  },
}
SCSS
$custom: #b2a63c;
$custom-light: #ccc077;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a63c",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 60
  },
  "hsl": {
    "h": 53.898,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71544,
    "c": 0.12577,
    "h": 102.8
  },
  "luminance": 0.37064
}

Semantic roles & 50–950 ramp

primary
#B2A63C
secondary
#868CC4
accent
#5DD94F
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A63C

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

Preview Lab → · Contrast checker → · Palette generator →

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