#B2A93E#B2A93E

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

Color values

HEX#B2A93E
RGBrgb(178, 169, 62)
HSLhsl(55, 48%, 47%)
HSVhsv(55, 65%, 70%)
CMYKcmyk(0%, 5.1%, 65.2%, 30.2%)
CIE-LABlab(68.16, -9.86, 54.37)
CIE-LCHlch(68.16, 55.25, 100.28°)
OKLaboklab(72.21% -0.0318 0.123)
OKLCHoklch(72.21% 0.127 104.5)
XYZxyz(33.4188, 38.1899, 10.1675)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A93E #3E47B2
analogous
#B26F3E #B2A93E #81B23E
triadic
#B2A93E #3EB2A9 #A93EB2
tetradic
#B2A93E #3EB26F #3E47B2 #B23E81
square
#B2A93E #3EB26F #3E47B2 #B23E81
split-complementary
#B2A93E #3E81B2 #6F3EB2
monochromatic
#57531E #857E2E #B2A93E #C9C164 #D9D392

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A93E#FFFFFF#000000##000000
##B2A93E1.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)
#B7A330
Deuteranopia (green-blind)
#BBA844
Tritanopia (blue-blind)
#BF9E93
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a93e;
/* rgb */ color: rgb(178, 169, 62);
/* oklch */ color: oklch(72.2% 0.127 104.5);
Tailwind
colors: {
  custom: {
    50: '#ccc279',
    500: '#b2a93e',
    950: '#000000',
  },
}
SCSS
$custom: #b2a93e;
$custom-light: #ccc279;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a93e",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 62
  },
  "hsl": {
    "h": 55.345,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72213,
    "c": 0.12706,
    "h": 104.5
  },
  "luminance": 0.38189
}

Semantic roles & 50–950 ramp

primary
#B2A93E
secondary
#888CC4
accent
#5AD850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A93E

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

Preview Lab → · Contrast checker → · Palette generator →

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