#B2A93D#B2A93D

#B2A93D is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.2% C 0.128 H 104.5°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#B2A93D
RGBrgb(178, 169, 61)
HSLhsl(55, 49%, 47%)
HSVhsv(55, 66%, 70%)
CMYKcmyk(0%, 5.1%, 65.7%, 30.2%)
CIE-LABlab(68.15, -9.92, 54.78)
CIE-LCHlch(68.15, 55.67, 100.26°)
OKLaboklab(72.2% -0.0321 0.1237)
OKLCHoklch(72.2% 0.128 104.5)
XYZxyz(33.3916, 38.1791, 10.0244)
Luminance0.3818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A93D #3D46B2
analogous
#B26F3D #B2A93D #80B23D
triadic
#B2A93D #3DB2A9 #A93DB2
tetradic
#B2A93D #3DB26F #3D46B2 #B23D80
square
#B2A93D #3DB26F #3D46B2 #B23D80
split-complementary
#B2A93D #3D80B2 #6F3DB2
monochromatic
#57521E #847E2D #B2A93D #C9C263 #D9D390

Accessibility & contrast

On white

2.43
#B2A93D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#B2A93D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A93D
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A93D#FFFFFF#000000##000000
##B2A93D1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32F
Deuteranopia (green-blind)
#BBA844
Tritanopia (blue-blind)
#BF9E93
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a93d;
/* rgb */ color: rgb(178, 169, 61);
/* oklch */ color: oklch(72.2% 0.128 104.5);
Tailwind
colors: {
  custom: {
    50: '#ccc278',
    500: '#b2a93d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a93d;
$custom-light: #ccc278;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a93d",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 61
  },
  "hsl": {
    "h": 55.385,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72204,
    "c": 0.12782,
    "h": 104.5
  },
  "luminance": 0.38178
}

Semantic roles & 50–950 ramp

primary
#B2A93D
secondary
#878BC4
accent
#5AD94F
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A93D

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

Preview Lab → · Contrast checker → · Palette generator →

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