#B2A92A#B2A92A

#B2A92A is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.1% C 0.140 H 105.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B2A92A
RGBrgb(178, 169, 42)
HSLhsl(56, 62%, 43%)
HSVhsv(56, 76%, 70%)
CMYKcmyk(0%, 5.1%, 76.4%, 30.2%)
CIE-LABlab(68.03, -10.88, 61.85)
CIE-LCHlch(68.03, 62.80, 99.98°)
OKLaboklab(72.07% -0.0368 0.1353)
OKLCHoklch(72.07% 0.14 105.2)
XYZxyz(32.9674, 38.0094, 7.7900)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A92A #2A33B2
analogous
#B2652A #B2A92A #77B22A
triadic
#B2A92A #2AB2A9 #A92AB2
tetradic
#B2A92A #2AB265 #2A33B2 #B22A77
square
#B2A92A #2AB265 #2A33B2 #B22A77
split-complementary
#B2A92A #2A77B2 #652AB2
monochromatic
#4F4B13 #807A1E #B2A92A #D3CA46 #DFD877

Accessibility & contrast

On white

2.44
#B2A92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B2A92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A92A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A92A#FFFFFF#000000##000000
##B2A92A1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30C
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#C09D91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a92a;
/* rgb */ color: rgb(178, 169, 42);
/* oklch */ color: oklch(72.1% 0.140 105.2);
Tailwind
colors: {
  custom: {
    50: '#cdc26e',
    500: '#b2a92a',
    950: '#000000',
  },
}
SCSS
$custom: #b2a92a;
$custom-light: #cdc26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a92a",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 42
  },
  "hsl": {
    "h": 56.029,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72065,
    "c": 0.14019,
    "h": 105.2
  },
  "luminance": 0.38008
}

Semantic roles & 50–950 ramp

primary
#B2A92A
secondary
#7177C7
accent
#4EE543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A92A

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

Preview Lab → · Contrast checker → · Palette generator →

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