#B2A13E#B2A13E

#B2A13E is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.120 H 99.5°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B2A13E
RGBrgb(178, 161, 62)
HSLhsl(51, 48%, 47%)
HSVhsv(51, 65%, 70%)
CMYKcmyk(0%, 9.6%, 65.2%, 30.2%)
CIE-LABlab(65.98, -5.63, 52.07)
CIE-LCHlch(65.98, 52.37, 96.18°)
OKLaboklab(70.49% -0.0198 0.1182)
OKLCHoklch(70.49% 0.12 99.5)
XYZxyz(31.9758, 35.3039, 9.6865)
Luminance0.3530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A13E #3E4FB2
analogous
#B2673E #B2A13E #89B23E
triadic
#B2A13E #3EB2A1 #A13EB2
tetradic
#B2A13E #3EB267 #3E4FB2 #B23E89
square
#B2A13E #3EB267 #3E4FB2 #B23E89
split-complementary
#B2A13E #3E89B2 #673EB2
monochromatic
#574F1E #85782E #B2A13E #C9BA64 #D9CE92

Accessibility & contrast

On white

2.61
#B2A13E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B2A13E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A13E
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A13E#FFFFFF#000000##000000
##B2A13E1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D32
Deuteranopia (green-blind)
#B5A343
Tritanopia (blue-blind)
#BF968C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a13e;
/* rgb */ color: rgb(178, 161, 62);
/* oklch */ color: oklch(70.5% 0.120 99.5);
Tailwind
colors: {
  custom: {
    50: '#ccbc78',
    500: '#b2a13e',
    950: '#000000',
  },
}
SCSS
$custom: #b2a13e;
$custom-light: #ccbc78;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a13e",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 62
  },
  "hsl": {
    "h": 51.207,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70485,
    "c": 0.1198,
    "h": 99.5
  },
  "luminance": 0.35303
}

Semantic roles & 50–950 ramp

primary
#B2A13E
secondary
#8891C4
accent
#64D850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A13E

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

Preview Lab → · Contrast checker → · Palette generator →

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