#B2A93B#B2A93B

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

Color values

HEX#B2A93B
RGBrgb(178, 169, 59)
HSLhsl(55, 50%, 46%)
HSVhsv(55, 67%, 70%)
CMYKcmyk(0%, 5.1%, 66.9%, 30.2%)
CIE-LABlab(68.14, -10.04, 55.60)
CIE-LCHlch(68.14, 56.50, 100.23°)
OKLaboklab(72.19% -0.0327 0.1251)
OKLCHoklch(72.19% 0.129 104.6)
XYZxyz(33.3388, 38.1579, 9.7459)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A93B #3B44B2
analogous
#B26E3B #B2A93B #80B23B
triadic
#B2A93B #3BB2A9 #A93BB2
tetradic
#B2A93B #3BB26E #3B44B2 #B23B80
square
#B2A93B #3BB26E #3B44B2 #B23B80
split-complementary
#B2A93B #3B80B2 #6E3BB2
monochromatic
#56521D #847D2C #B2A93B #CAC260 #DAD48E

Accessibility & contrast

On white

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

On black

8.63
#B2A93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A93B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A93B#FFFFFF#000000##000000
##B2A93B1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2a93b;
/* rgb */ color: rgb(178, 169, 59);
/* oklch */ color: oklch(72.2% 0.129 104.6);
Tailwind
colors: {
  custom: {
    50: '#ccc277',
    500: '#b2a93b',
    950: '#000000',
  },
}
SCSS
$custom: #b2a93b;
$custom-light: #ccc277;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a93b",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 59
  },
  "hsl": {
    "h": 55.462,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72187,
    "c": 0.12932,
    "h": 104.6
  },
  "luminance": 0.38157
}

Semantic roles & 50–950 ramp

primary
#B2A93B
secondary
#8589C4
accent
#59DA4E
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A93B

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

Preview Lab → · Contrast checker → · Palette generator →

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