#B2A45F#B2A45F

#B2A45F is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.091 H 98.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B2A45F
RGBrgb(178, 164, 95)
HSLhsl(50, 35%, 54%)
HSVhsv(50, 47%, 70%)
CMYKcmyk(0%, 7.9%, 46.6%, 30.2%)
CIE-LABlab(67.16, -4.55, 37.49)
CIE-LCHlch(67.16, 37.76, 96.92°)
OKLaboklab(71.53% -0.0129 0.0902)
OKLCHoklch(71.53% 0.091 98.1)
XYZxyz(33.7020, 36.8433, 16.1604)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A45F #5F6DB2
analogous
#B27A5F #B2A45F #96B25F
triadic
#B2A45F #5FB2A4 #A45FB2
tetradic
#B2A45F #5FB27A #5F6DB2 #B25F96
square
#B2A45F #5FB27A #5F6DB2 #B25F96
split-complementary
#B2A45F #5F96B2 #7A5FB2
monochromatic
#665D31 #8F8245 #B2A45F #C6BB88 #DAD3B2

Accessibility & contrast

On white

2.51
#B2A45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B2A45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A45F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A45F#FFFFFF#000000##000000
##B2A45F1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A159
Deuteranopia (green-blind)
#B4A662
Tritanopia (blue-blind)
#BD9B93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a45f;
/* rgb */ color: rgb(178, 164, 95);
/* oklch */ color: oklch(71.5% 0.091 98.1);
Tailwind
colors: {
  custom: {
    50: '#cbbe8e',
    500: '#b2a45f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a45f;
$custom-light: #cbbe8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a45f",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 49.88,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.71534,
    "c": 0.09113,
    "h": 98.1
  },
  "luminance": 0.36842
}

Semantic roles & 50–950 ramp

primary
#B2A45F
secondary
#A5ABC8
accent
#6FCB5D
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A45F

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

Preview Lab → · Contrast checker → · Palette generator →

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