#B0A438#B0A438

#B0A438 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.127 H 102.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B0A438
RGBrgb(176, 164, 56)
HSLhsl(54, 52%, 45%)
HSVhsv(54, 68%, 69%)
CMYKcmyk(0%, 6.8%, 68.2%, 31%)
CIE-LABlab(66.57, -8.46, 55.17)
CIE-LCHlch(66.57, 55.82, 98.72°)
OKLaboklab(70.89% -0.0284 0.1238)
OKLCHoklch(70.89% 0.127 102.9)
XYZxyz(31.8951, 36.0678, 9.0223)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A438 #3844B0
analogous
#B06838 #B0A438 #80B038
triadic
#B0A438 #38B0A4 #A438B0
tetradic
#B0A438 #38B068 #3844B0 #B03880
square
#B0A438 #38B068 #3844B0 #B03880
split-complementary
#B0A438 #3880B0 #6838B0
monochromatic
#534D1A #827929 #B0A438 #CBBF5B #D9D189

Accessibility & contrast

On white

2.56
#B0A438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B0A438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A438
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A438#FFFFFF#000000##000000
##B0A4381.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F29
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#BD998E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b0a438;
/* rgb */ color: rgb(176, 164, 56);
/* oklch */ color: oklch(70.9% 0.127 102.9);
Tailwind
colors: {
  custom: {
    50: '#cbbe75',
    500: '#b0a438',
    950: '#000000',
  },
}
SCSS
$custom: #b0a438;
$custom-light: #cbbe75;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a438",
  "rgb": {
    "r": 176,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 54,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70893,
    "c": 0.127,
    "h": 102.9
  },
  "luminance": 0.36067
}

Semantic roles & 50–950 ramp

primary
#B0A438
secondary
#8087C4
accent
#5BDB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B0A438

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

Preview Lab → · Contrast checker → · Palette generator →

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