#B8B12E#B8B12E

#B8B12E is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.4% C 0.145 H 106.3°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#B8B12E
RGBrgb(184, 177, 46)
HSLhsl(57, 60%, 45%)
HSVhsv(57, 75%, 72%)
CMYKcmyk(0%, 3.8%, 75%, 27.8%)
CIE-LABlab(70.76, -12.24, 63.23)
CIE-LCHlch(70.76, 64.40, 100.95°)
OKLaboklab(74.37% -0.0405 0.1387)
OKLCHoklch(74.37% 0.145 106.3)
XYZxyz(35.9839, 41.8332, 8.7634)
Luminance0.4183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B12E #2E35B8
analogous
#B86C2E #B8B12E #7AB82E
triadic
#B8B12E #2EB8B1 #B12EB8
tetradic
#B8B12E #2EB86C #2E35B8 #B82E7A
square
#B8B12E #2EB86C #2E35B8 #B82E7A
split-complementary
#B8B12E #2E7AB8 #6C2EB8
monochromatic
#565316 #878222 #B8B12E #D3CD50 #DFDB81

Accessibility & contrast

On white

2.24
#B8B12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#B8B12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B12E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B12E#FFFFFF#000000##000000
##B8B12E1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA11
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#C6A598
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8b12e;
/* rgb */ color: rgb(184, 177, 46);
/* oklch */ color: oklch(74.4% 0.145 106.3);
Tailwind
colors: {
  custom: {
    50: '#d1c871',
    500: '#b8b12e',
    950: '#000000',
  },
}
SCSS
$custom: #b8b12e;
$custom-light: #d1c871;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b12e",
  "rgb": {
    "r": 184,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 56.957,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7437,
    "c": 0.14454,
    "h": 106.3
  },
  "luminance": 0.41832
}

Semantic roles & 50–950 ramp

primary
#B8B12E
secondary
#797DC8
accent
#4DE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B12E

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

Preview Lab → · Contrast checker → · Palette generator →

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