#B2A92C#B2A92C

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

Color values

HEX#B2A92C
RGBrgb(178, 169, 44)
HSLhsl(56, 60%, 44%)
HSVhsv(56, 75%, 70%)
CMYKcmyk(0%, 5.1%, 75.3%, 30.2%)
CIE-LABlab(68.04, -10.80, 61.18)
CIE-LCHlch(68.04, 62.13, 100.01°)
OKLaboklab(72.08% -0.0363 0.1343)
OKLCHoklch(72.08% 0.139 105.2)
XYZxyz(33.0041, 38.0240, 7.9833)
Luminance0.3802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A92C #2C35B2
analogous
#B2662C #B2A92C #78B22C
triadic
#B2A92C #2CB2A9 #A92CB2
tetradic
#B2A92C #2CB266 #2C35B2 #B22C78
square
#B2A92C #2CB266 #2C35B2 #B22C78
split-complementary
#B2A92C #2C78B2 #662CB2
monochromatic
#504C14 #817A20 #B2A92C #D2C949 #DED77A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A92C#FFFFFF#000000##000000
##B2A92C1.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)
#B8A311
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#BF9D91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a92c;
/* rgb */ color: rgb(178, 169, 44);
/* oklch */ color: oklch(72.1% 0.139 105.2);
Tailwind
colors: {
  custom: {
    50: '#cdc26f',
    500: '#b2a92c',
    950: '#000000',
  },
}
SCSS
$custom: #b2a92c;
$custom-light: #cdc26f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a92c",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 44
  },
  "hsl": {
    "h": 55.97,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72077,
    "c": 0.13908,
    "h": 105.2
  },
  "luminance": 0.38023
}

Semantic roles & 50–950 ramp

primary
#B2A92C
secondary
#7379C6
accent
#4FE444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A92C

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

Preview Lab → · Contrast checker → · Palette generator →

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