#B2A63D#B2A63D

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

Color values

HEX#B2A63D
RGBrgb(178, 166, 61)
HSLhsl(54, 49%, 47%)
HSVhsv(54, 66%, 70%)
CMYKcmyk(0%, 6.7%, 65.7%, 30.2%)
CIE-LABlab(67.33, -8.34, 53.93)
CIE-LCHlch(67.33, 54.57, 98.80°)
OKLaboklab(71.55% -0.0276 0.1219)
OKLCHoklch(71.55% 0.125 102.8)
XYZxyz(32.8399, 37.0756, 9.8405)
Luminance0.3707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A63D #3D49B2
analogous
#B26C3D #B2A63D #84B23D
triadic
#B2A63D #3DB2A6 #A63DB2
tetradic
#B2A63D #3DB26C #3D49B2 #B23D84
square
#B2A63D #3DB26C #3D49B2 #B23D84
split-complementary
#B2A63D #3D84B2 #6C3DB2
monochromatic
#57511E #847B2D #B2A63D #C9BF63 #D9D290

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A63D#FFFFFF#000000##000000
##B2A63D1.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)
#B5A130
Deuteranopia (green-blind)
#B8A643
Tritanopia (blue-blind)
#BF9B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a63d;
/* rgb */ color: rgb(178, 166, 61);
/* oklch */ color: oklch(71.6% 0.125 102.8);
Tailwind
colors: {
  custom: {
    50: '#ccc078',
    500: '#b2a63d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a63d;
$custom-light: #ccc078;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a63d",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 61
  },
  "hsl": {
    "h": 53.846,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71553,
    "c": 0.12501,
    "h": 102.8
  },
  "luminance": 0.37074
}

Semantic roles & 50–950 ramp

primary
#B2A63D
secondary
#878DC4
accent
#5DD94F
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A63D

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

Preview Lab → · Contrast checker → · Palette generator →

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