#B1A72E#B1A72E

#B1A72E is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.136 H 104.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B1A72E
RGBrgb(177, 167, 46)
HSLhsl(55, 59%, 44%)
HSVhsv(55, 74%, 69%)
CMYKcmyk(0%, 5.6%, 74%, 30.6%)
CIE-LABlab(67.41, -10.10, 59.87)
CIE-LCHlch(67.41, 60.72, 99.58°)
OKLaboklab(71.56% -0.0342 0.1319)
OKLCHoklch(71.56% 0.136 104.5)
XYZxyz(32.4447, 37.1831, 8.0523)
Luminance0.3718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A72E #2E38B1
analogous
#B1652E #B1A72E #79B12E
triadic
#B1A72E #2EB1A7 #A72EB1
tetradic
#B1A72E #2EB165 #2E38B1 #B12E79
square
#B1A72E #2EB165 #2E38B1 #B12E79
split-complementary
#B1A72E #2E79B1 #652EB1
monochromatic
#504B15 #807921 #B1A72E #D0C64C #DDD67C

Accessibility & contrast

On white

2.49
#B1A72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B1A72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A72E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A72E#FFFFFF#000000##000000
##B1A72E1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A117
Deuteranopia (green-blind)
#B9A737
Tritanopia (blue-blind)
#BE9B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b1a72e;
/* rgb */ color: rgb(177, 167, 46);
/* oklch */ color: oklch(71.6% 0.136 104.5);
Tailwind
colors: {
  custom: {
    50: '#ccc070',
    500: '#b1a72e',
    950: '#000000',
  },
}
SCSS
$custom: #b1a72e;
$custom-light: #ccc070;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a72e",
  "rgb": {
    "r": 177,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 55.42,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71563,
    "c": 0.13623,
    "h": 104.5
  },
  "luminance": 0.37182
}

Semantic roles & 50–950 ramp

primary
#B1A72E
secondary
#757BC6
accent
#52E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A72E

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

Preview Lab → · Contrast checker → · Palette generator →

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