#B2A15F#B2A15F

#B2A15F is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.9% C 0.088 H 95.4°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B2A15F
RGBrgb(178, 161, 95)
HSLhsl(48, 35%, 54%)
HSVhsv(48, 47%, 70%)
CMYKcmyk(0%, 9.6%, 46.6%, 30.2%)
CIE-LABlab(66.35, -2.94, 36.48)
CIE-LCHlch(66.35, 36.60, 94.61°)
OKLaboklab(70.9% -0.0083 0.088)
OKLCHoklch(70.9% 0.088 95.4)
XYZxyz(33.1715, 35.7822, 15.9836)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A15F #5F70B2
analogous
#B2775F #B2A15F #99B25F
triadic
#B2A15F #5FB2A1 #A15FB2
tetradic
#B2A15F #5FB277 #5F70B2 #B25F99
square
#B2A15F #5FB277 #5F70B2 #B25F99
split-complementary
#B2A15F #5F99B2 #775FB2
monochromatic
#665B31 #8F8045 #B2A15F #C6B988 #DAD2B2

Accessibility & contrast

On white

2.57
#B2A15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B2A15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A15F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A15F#FFFFFF#000000##000000
##B2A15F1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9E5A
Deuteranopia (green-blind)
#B2A462
Tritanopia (blue-blind)
#BD9891
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a15f;
/* rgb */ color: rgb(178, 161, 95);
/* oklch */ color: oklch(70.9% 0.088 95.4);
Tailwind
colors: {
  custom: {
    50: '#cbbc8d',
    500: '#b2a15f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a15f;
$custom-light: #cbbc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a15f",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 95
  },
  "hsl": {
    "h": 47.711,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.70896,
    "c": 0.08835,
    "h": 95.4
  },
  "luminance": 0.35781
}

Semantic roles & 50–950 ramp

primary
#B2A15F
secondary
#A5ACC8
accent
#73CB5D
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A15F

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

Preview Lab → · Contrast checker → · Palette generator →

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