#B2A92D#B2A92D

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

Color values

HEX#B2A92D
RGBrgb(178, 169, 45)
HSLhsl(56, 60%, 44%)
HSVhsv(56, 75%, 70%)
CMYKcmyk(0%, 5.1%, 74.7%, 30.2%)
CIE-LABlab(68.04, -10.75, 60.85)
CIE-LCHlch(68.04, 61.79, 100.02°)
OKLaboklab(72.08% -0.0361 0.1337)
OKLCHoklch(72.08% 0.139 105.1)
XYZxyz(33.0231, 38.0317, 8.0835)
Luminance0.3803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A92D #2D36B2
analogous
#B2662D #B2A92D #78B22D
triadic
#B2A92D #2DB2A9 #A92DB2
tetradic
#B2A92D #2DB266 #2D36B2 #B22D78
square
#B2A92D #2DB266 #2D36B2 #B22D78
split-complementary
#B2A92D #2D78B2 #662DB2
monochromatic
#504C14 #817B21 #B2A92D #D1C84B #DED77C

Accessibility & contrast

On white

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

On black

8.61
#B2A92D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A92D
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A92D#FFFFFF#000000##000000
##B2A92D1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A314
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#BF9D91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a92d;
/* rgb */ color: rgb(178, 169, 45);
/* oklch */ color: oklch(72.1% 0.139 105.1);
Tailwind
colors: {
  custom: {
    50: '#cdc270',
    500: '#b2a92d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a92d;
$custom-light: #cdc270;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a92d",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 45
  },
  "hsl": {
    "h": 55.94,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72083,
    "c": 0.13852,
    "h": 105.1
  },
  "luminance": 0.3803
}

Semantic roles & 50–950 ramp

primary
#B2A92D
secondary
#757AC6
accent
#50E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A92D

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

Preview Lab → · Contrast checker → · Palette generator →

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