#B2A64B#B2A64B

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

Color values

HEX#B2A64B
RGBrgb(178, 166, 75)
HSLhsl(53, 41%, 50%)
HSVhsv(53, 58%, 70%)
CMYKcmyk(0%, 6.7%, 57.9%, 30.2%)
CIE-LABlab(67.46, -7.38, 47.77)
CIE-LCHlch(67.46, 48.33, 98.78°)
OKLaboklab(71.7% -0.0233 0.1108)
OKLCHoklch(71.7% 0.113 101.9)
XYZxyz(33.2675, 37.2467, 12.0922)
Luminance0.3725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A64B #4B57B2
analogous
#B2734B #B2A64B #8AB24B
triadic
#B2A64B #4BB2A6 #A64BB2
tetradic
#B2A64B #4BB273 #4B57B2 #B24B8A
square
#B2A64B #4BB273 #4B57B2 #B24B8A
split-complementary
#B2A64B #4B8AB2 #734BB2
monochromatic
#5C5627 #877E39 #B2A64B #C5BC75 #D7D1A0

Accessibility & contrast

On white

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

On black

8.45
#B2A64B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A64B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A64B#FFFFFF#000000##000000
##B2A64B1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A142
Deuteranopia (green-blind)
#B7A750
Tritanopia (blue-blind)
#BE9C92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a64b;
/* rgb */ color: rgb(178, 166, 75);
/* oklch */ color: oklch(71.7% 0.113 101.9);
Tailwind
colors: {
  custom: {
    50: '#cbc080',
    500: '#b2a64b',
    950: '#000000',
  },
}
SCSS
$custom: #b2a64b;
$custom-light: #cbc080;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a64b",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 75
  },
  "hsl": {
    "h": 53.01,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71696,
    "c": 0.11321,
    "h": 101.9
  },
  "luminance": 0.37245
}

Semantic roles & 50–950 ramp

primary
#B2A64B
secondary
#959AC4
accent
#65D157
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A64B

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

Preview Lab → · Contrast checker → · Palette generator →

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