#B2A648#B2A648

#B2A648 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.116 H 102.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B2A648
RGBrgb(178, 166, 72)
HSLhsl(53, 42%, 49%)
HSVhsv(53, 60%, 70%)
CMYKcmyk(0%, 6.7%, 59.6%, 30.2%)
CIE-LABlab(67.43, -7.61, 49.13)
CIE-LCHlch(67.43, 49.72, 98.80°)
OKLaboklab(71.66% -0.0243 0.1133)
OKLCHoklch(71.66% 0.116 102.1)
XYZxyz(33.1672, 37.2066, 11.5641)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A648 #4854B2
analogous
#B27148 #B2A648 #89B248
triadic
#B2A648 #48B2A6 #A648B2
tetradic
#B2A648 #48B271 #4854B2 #B24889
square
#B2A648 #48B271 #4854B2 #B24889
split-complementary
#B2A648 #4889B2 #7148B2
monochromatic
#5B5525 #867D36 #B2A648 #C6BC71 #D7D19D

Accessibility & contrast

On white

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

On black

8.44
#B2A648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A648
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A648#FFFFFF#000000##000000
##B2A6481.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13E
Deuteranopia (green-blind)
#B8A74D
Tritanopia (blue-blind)
#BF9B92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a648;
/* rgb */ color: rgb(178, 166, 72);
/* oklch */ color: oklch(71.7% 0.116 102.1);
Tailwind
colors: {
  custom: {
    50: '#ccc07e',
    500: '#b2a648',
    950: '#000000',
  },
}
SCSS
$custom: #b2a648;
$custom-light: #ccc07e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a648",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 72
  },
  "hsl": {
    "h": 53.208,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71663,
    "c": 0.11591,
    "h": 102.1
  },
  "luminance": 0.37205
}

Semantic roles & 50–950 ramp

primary
#B2A648
secondary
#9298C4
accent
#64D256
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A648

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

Preview Lab → · Contrast checker → · Palette generator →

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