#B0A138#B0A138

#B0A138 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.124 H 101.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#B0A138
RGBrgb(176, 161, 56)
HSLhsl(53, 52%, 45%)
HSVhsv(53, 68%, 69%)
CMYKcmyk(0%, 8.5%, 68.2%, 31%)
CIE-LABlab(65.75, -6.87, 54.34)
CIE-LCHlch(65.75, 54.77, 97.21°)
OKLaboklab(70.24% -0.0239 0.122)
OKLCHoklch(70.24% 0.124 101.1)
XYZxyz(31.3645, 35.0067, 8.8455)
Luminance0.3500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A138 #3847B0
analogous
#B06538 #B0A138 #83B038
triadic
#B0A138 #38B0A1 #A138B0
tetradic
#B0A138 #38B065 #3847B0 #B03883
square
#B0A138 #38B065 #3847B0 #B03883
split-complementary
#B0A138 #3883B0 #6538B0
monochromatic
#534C1A #827729 #B0A138 #CBBD5B #D9CF89

Accessibility & contrast

On white

2.62
#B0A138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#B0A138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A138
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A138#FFFFFF#000000##000000
##B0A1381.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C2A
Deuteranopia (green-blind)
#B4A23E
Tritanopia (blue-blind)
#BD968C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b0a138;
/* rgb */ color: rgb(176, 161, 56);
/* oklch */ color: oklch(70.2% 0.124 101.1);
Tailwind
colors: {
  custom: {
    50: '#cbbc74',
    500: '#b0a138',
    950: '#000000',
  },
}
SCSS
$custom: #b0a138;
$custom-light: #cbbc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a138",
  "rgb": {
    "r": 176,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 52.5,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70243,
    "c": 0.12434,
    "h": 101.1
  },
  "luminance": 0.35005
}

Semantic roles & 50–950 ramp

primary
#B0A138
secondary
#8089C4
accent
#5EDB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B0A138

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

Preview Lab → · Contrast checker → · Palette generator →

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