#B2A258#B2A258

#B2A258 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.0% C 0.097 H 97.4°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B2A258
RGBrgb(178, 162, 88)
HSLhsl(49, 37%, 52%)
HSVhsv(49, 51%, 70%)
CMYKcmyk(0%, 9%, 50.6%, 30.2%)
CIE-LABlab(66.53, -4.15, 40.30)
CIE-LCHlch(66.53, 40.51, 95.88°)
OKLaboklab(71.01% -0.0125 0.0959)
OKLCHoklch(71.01% 0.097 97.4)
XYZxyz(33.0429, 36.0115, 14.4410)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A258 #5868B2
analogous
#B27558 #B2A258 #95B258
triadic
#B2A258 #58B2A2 #A258B2
tetradic
#B2A258 #58B275 #5868B2 #B25895
square
#B2A258 #58B275 #5868B2 #B25895
split-complementary
#B2A258 #5895B2 #7558B2
monochromatic
#62592D #8C7F41 #B2A258 #C5B982 #D9D1AC

Accessibility & contrast

On white

2.56
#B2A258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#B2A258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A258
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A258#FFFFFF#000000##000000
##B2A2581.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F52
Deuteranopia (green-blind)
#B3A45B
Tritanopia (blue-blind)
#BE9891
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a258;
/* rgb */ color: rgb(178, 162, 88);
/* oklch */ color: oklch(71.0% 0.097 97.4);
Tailwind
colors: {
  custom: {
    50: '#cbbd89',
    500: '#b2a258',
    950: '#000000',
  },
}
SCSS
$custom: #b2a258;
$custom-light: #cbbd89;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a258",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 88
  },
  "hsl": {
    "h": 49.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71005,
    "c": 0.09671,
    "h": 97.4
  },
  "luminance": 0.3601
}

Semantic roles & 50–950 ramp

primary
#B2A258
secondary
#9FA6C7
accent
#6FCD5B
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A258

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

Preview Lab → · Contrast checker → · Palette generator →

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