#B2A93F#B2A93F

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

Color values

HEX#B2A93F
RGBrgb(178, 169, 63)
HSLhsl(55, 48%, 47%)
HSVhsv(55, 65%, 70%)
CMYKcmyk(0%, 5.1%, 64.6%, 30.2%)
CIE-LABlab(68.17, -9.80, 53.95)
CIE-LCHlch(68.17, 54.83, 100.29°)
OKLaboklab(72.22% -0.0315 0.1223)
OKLCHoklch(72.22% 0.126 104.5)
XYZxyz(33.4465, 38.2010, 10.3134)
Luminance0.3820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A93F #3F48B2
analogous
#B26F3F #B2A93F #82B23F
triadic
#B2A93F #3FB2A9 #A93FB2
tetradic
#B2A93F #3FB26F #3F48B2 #B23F82
square
#B2A93F #3FB26F #3F48B2 #B23F82
split-complementary
#B2A93F #3F82B2 #6F3FB2
monochromatic
#58531F #857E2F #B2A93F #C9C166 #D9D393

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A93F#FFFFFF#000000##000000
##B2A93F1.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)
#B7A332
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#BF9E93
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a93f;
/* rgb */ color: rgb(178, 169, 63);
/* oklch */ color: oklch(72.2% 0.126 104.5);
Tailwind
colors: {
  custom: {
    50: '#ccc279',
    500: '#b2a93f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a93f;
$custom-light: #ccc279;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a93f",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 63
  },
  "hsl": {
    "h": 55.304,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72222,
    "c": 0.12628,
    "h": 104.5
  },
  "luminance": 0.382
}

Semantic roles & 50–950 ramp

primary
#B2A93F
secondary
#898DC4
accent
#5BD750
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A93F

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

Preview Lab → · Contrast checker → · Palette generator →

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