#B8A12C#B8A12C

#B8A12C is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.9% C 0.132 H 97.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B8A12C
RGBrgb(184, 161, 44)
HSLhsl(50, 61%, 45%)
HSVhsv(50, 76%, 72%)
CMYKcmyk(0%, 12.5%, 76.1%, 27.8%)
CIE-LABlab(66.42, -3.93, 59.86)
CIE-LCHlch(66.42, 59.99, 93.76°)
OKLaboklab(70.92% -0.0173 0.1312)
OKLCHoklch(70.92% 0.132 97.5)
XYZxyz(32.9684, 35.8637, 7.5682)
Luminance0.3586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A12C #2C43B8
analogous
#B85B2C #B8A12C #89B82C
triadic
#B8A12C #2CB8A1 #A12CB8
tetradic
#B8A12C #2CB85B #2C43B8 #B82C89
square
#B8A12C #2CB85B #2C43B8 #B82C89
split-complementary
#B8A12C #2C89B8 #5B2CB8
monochromatic
#554B14 #877620 #B8A12C #D4BE4D #E0D07E

Accessibility & contrast

On white

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

On black

8.17
#B8A12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A12C
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A12C#FFFFFF#000000##000000
##B8A12C1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D15
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#C7948B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a12c;
/* rgb */ color: rgb(184, 161, 44);
/* oklch */ color: oklch(70.9% 0.132 97.5);
Tailwind
colors: {
  custom: {
    50: '#d1bc6e',
    500: '#b8a12c',
    950: '#000000',
  },
}
SCSS
$custom: #b8a12c;
$custom-light: #d1bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a12c",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 50.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70918,
    "c": 0.13233,
    "h": 97.5
  },
  "luminance": 0.35862
}

Semantic roles & 50–950 ramp

primary
#B8A12C
secondary
#7784C9
accent
#5EE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B8A12C

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

Preview Lab → · Contrast checker → · Palette generator →

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