#B2A14D#B2A14D

#B2A14D is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.6% C 0.107 H 98.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B2A14D
RGBrgb(178, 161, 77)
HSLhsl(50, 40%, 50%)
HSVhsv(50, 57%, 70%)
CMYKcmyk(0%, 9.6%, 56.7%, 30.2%)
CIE-LABlab(66.13, -4.57, 45.29)
CIE-LCHlch(66.13, 45.52, 95.76°)
OKLaboklab(70.65% -0.0149 0.1057)
OKLCHoklch(70.65% 0.107 98.1)
XYZxyz(32.4457, 35.4919, 12.1613)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A14D #4D5EB2
analogous
#B26E4D #B2A14D #91B24D
triadic
#B2A14D #4DB2A1 #A14DB2
tetradic
#B2A14D #4DB26E #4D5EB2 #B24D91
square
#B2A14D #4DB26E #4D5EB2 #B24D91
split-complementary
#B2A14D #4D91B2 #6E4DB2
monochromatic
#5D5428 #877A3B #B2A14D #C4B878 #D7CEA2

Accessibility & contrast

On white

2.59
#B2A14D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#B2A14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A14D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A14D#FFFFFF#000000##000000
##B2A14D1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D45
Deuteranopia (green-blind)
#B3A351
Tritanopia (blue-blind)
#BF978E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a14d;
/* rgb */ color: rgb(178, 161, 77);
/* oklch */ color: oklch(70.6% 0.107 98.1);
Tailwind
colors: {
  custom: {
    50: '#cbbc81',
    500: '#b2a14d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a14d;
$custom-light: #cbbc81;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a14d",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 77
  },
  "hsl": {
    "h": 49.901,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.70647,
    "c": 0.10674,
    "h": 98.1
  },
  "luminance": 0.35491
}

Semantic roles & 50–950 ramp

primary
#B2A14D
secondary
#979EC4
accent
#6CCF58
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A14D

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

Preview Lab → · Contrast checker → · Palette generator →

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