#B2A63F#B2A63F

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

Color values

HEX#B2A63F
RGBrgb(178, 166, 63)
HSLhsl(54, 48%, 47%)
HSVhsv(54, 65%, 70%)
CMYKcmyk(0%, 6.7%, 64.6%, 30.2%)
CIE-LABlab(67.35, -8.22, 53.08)
CIE-LCHlch(67.35, 53.72, 98.80°)
OKLaboklab(71.57% -0.0271 0.1205)
OKLCHoklch(71.57% 0.123 102.7)
XYZxyz(32.8948, 37.0976, 10.1295)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A63F #3F4BB2
analogous
#B26C3F #B2A63F #85B23F
triadic
#B2A63F #3FB2A6 #A63FB2
tetradic
#B2A63F #3FB26C #3F4BB2 #B23F85
square
#B2A63F #3FB26C #3F4BB2 #B23F85
split-complementary
#B2A63F #3F85B2 #6C3FB2
monochromatic
#58521F #857C2F #B2A63F #C9BE66 #D9D193

Accessibility & contrast

On white

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

On black

8.42
#B2A63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A63F
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A63F#FFFFFF#000000##000000
##B2A63F1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2a63f;
/* rgb */ color: rgb(178, 166, 63);
/* oklch */ color: oklch(71.6% 0.123 102.7);
Tailwind
colors: {
  custom: {
    50: '#ccc079',
    500: '#b2a63f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a63f;
$custom-light: #ccc079;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a63f",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 53.739,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71572,
    "c": 0.12345,
    "h": 102.7
  },
  "luminance": 0.37096
}

Semantic roles & 50–950 ramp

primary
#B2A63F
secondary
#898FC4
accent
#5FD750
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A63F

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

Preview Lab → · Contrast checker → · Palette generator →

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