#B0A258#B0A258

#B0A258 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.097 H 98.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B0A258
RGBrgb(176, 162, 88)
HSLhsl(50, 36%, 52%)
HSVhsv(50, 50%, 69%)
CMYKcmyk(0%, 8%, 50%, 31%)
CIE-LABlab(66.35, -5.00, 40.04)
CIE-LCHlch(66.35, 40.35, 97.12°)
OKLaboklab(70.82% -0.0148 0.0954)
OKLCHoklch(70.82% 0.097 98.8)
XYZxyz(32.5873, 35.7765, 14.4196)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A258 #5866B0
analogous
#B07658 #B0A258 #92B058
triadic
#B0A258 #58B0A2 #A258B0
tetradic
#B0A258 #58B076 #5866B0 #B05892
square
#B0A258 #58B076 #5866B0 #B05892
split-complementary
#B0A258 #5892B0 #7658B0
monochromatic
#60582D #8A7E41 #B0A258 #C4B982 #D7D0AB

Accessibility & contrast

On white

2.58
#B0A258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B0A258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A258
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A258#FFFFFF#000000##000000
##B0A2581.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E52
Deuteranopia (green-blind)
#B3A45B
Tritanopia (blue-blind)
#BC9991
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b0a258;
/* rgb */ color: rgb(176, 162, 88);
/* oklch */ color: oklch(70.8% 0.097 98.8);
Tailwind
colors: {
  custom: {
    50: '#c9bd89',
    500: '#b0a258',
    950: '#000000',
  },
}
SCSS
$custom: #b0a258;
$custom-light: #c9bd89;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a258",
  "rgb": {
    "r": 176,
    "g": 162,
    "b": 88
  },
  "hsl": {
    "h": 50.455,
    "s": 35.772,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70819,
    "c": 0.09651,
    "h": 98.8
  },
  "luminance": 0.35775
}

Semantic roles & 50–950 ramp

primary
#B0A258
secondary
#9FA5C5
accent
#6ECC5C
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #B0A258

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

Preview Lab → · Contrast checker → · Palette generator →

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