#B6B12E#B6B12E

#B6B12E is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.2% C 0.145 H 107.2°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#B6B12E
RGBrgb(182, 177, 46)
HSLhsl(58, 60%, 45%)
HSVhsv(58, 75%, 71%)
CMYKcmyk(0%, 2.7%, 74.7%, 28.6%)
CIE-LABlab(70.59, -13.11, 63.01)
CIE-LCHlch(70.59, 64.36, 101.75°)
OKLaboklab(74.19% -0.0428 0.1384)
OKLCHoklch(74.19% 0.145 107.2)
XYZxyz(35.5081, 41.5879, 8.7411)
Luminance0.4159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B12E #2E33B6
analogous
#B66D2E #B6B12E #77B62E
triadic
#B6B12E #2EB6B1 #B12EB6
tetradic
#B6B12E #2EB66D #2E33B6 #B62E77
square
#B6B12E #2EB66D #2E33B6 #B62E77
split-complementary
#B6B12E #2E77B6 #6D2EB6
monochromatic
#545215 #858122 #B6B12E #D2CE4F #DFDB80

Accessibility & contrast

On white

2.25
#B6B12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#B6B12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B12E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B12E#FFFFFF#000000##000000
##B6B12E1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6b12e;
/* rgb */ color: rgb(182, 177, 46);
/* oklch */ color: oklch(74.2% 0.145 107.2);
Tailwind
colors: {
  custom: {
    50: '#d0c871',
    500: '#b6b12e',
    950: '#000000',
  },
}
SCSS
$custom: #b6b12e;
$custom-light: #d0c871;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b12e",
  "rgb": {
    "r": 182,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 57.794,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74193,
    "c": 0.14483,
    "h": 107.2
  },
  "luminance": 0.41587
}

Semantic roles & 50–950 ramp

primary
#B6B12E
secondary
#787BC8
accent
#4BE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B12E

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

Preview Lab → · Contrast checker → · Palette generator →

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