#B0A12F#B0A12F

#B0A12F is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.130 H 101.6°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#B0A12F
RGBrgb(176, 161, 47)
HSLhsl(53, 58%, 44%)
HSVhsv(53, 73%, 69%)
CMYKcmyk(0%, 8.5%, 73.3%, 31%)
CIE-LABlab(65.69, -7.34, 57.82)
CIE-LCHlch(65.69, 58.29, 97.23°)
OKLaboklab(70.17% -0.0262 0.1278)
OKLCHoklch(70.17% 0.13 101.6)
XYZxyz(31.1639, 34.9265, 7.7887)
Luminance0.3493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A12F #2F3EB0
analogous
#B0602F #B0A12F #7EB02F
triadic
#B0A12F #2FB0A1 #A12FB0
tetradic
#B0A12F #2FB060 #2F3EB0 #B02F7E
square
#B0A12F #2FB060 #2F3EB0 #B02F7E
split-complementary
#B0A12F #2F7EB0 #602FB0
monochromatic
#4F4915 #807522 #B0A12F #CFC04D #DCD17D

Accessibility & contrast

On white

2.63
#B0A12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#B0A12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A12F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A12F#FFFFFF#000000##000000
##B0A12F1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1B
Deuteranopia (green-blind)
#B5A237
Tritanopia (blue-blind)
#BE958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b0a12f;
/* rgb */ color: rgb(176, 161, 47);
/* oklch */ color: oklch(70.2% 0.130 101.6);
Tailwind
colors: {
  custom: {
    50: '#cbbc70',
    500: '#b0a12f',
    950: '#000000',
  },
}
SCSS
$custom: #b0a12f;
$custom-light: #cbbc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a12f",
  "rgb": {
    "r": 176,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 53.023,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70174,
    "c": 0.13043,
    "h": 101.6
  },
  "luminance": 0.34925
}

Semantic roles & 50–950 ramp

primary
#B0A12F
secondary
#767FC5
accent
#59E147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #B0A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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