#B0A338#B0A338

#B0A338 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.7% C 0.126 H 102.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B0A338
RGBrgb(176, 163, 56)
HSLhsl(54, 52%, 45%)
HSVhsv(54, 68%, 69%)
CMYKcmyk(0%, 7.4%, 68.2%, 31%)
CIE-LABlab(66.30, -7.93, 54.89)
CIE-LCHlch(66.30, 55.46, 98.22°)
OKLaboklab(70.68% -0.0269 0.1232)
OKLCHoklch(70.68% 0.126 102.3)
XYZxyz(31.7168, 35.7113, 8.9629)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A338 #3845B0
analogous
#B06738 #B0A338 #81B038
triadic
#B0A338 #38B0A3 #A338B0
tetradic
#B0A338 #38B067 #3845B0 #B03881
square
#B0A338 #38B067 #3845B0 #B03881
split-complementary
#B0A338 #3881B0 #6738B0
monochromatic
#534D1A #827829 #B0A338 #CBBF5B #D9D189

Accessibility & contrast

On white

2.58
#B0A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B0A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A338
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A338#FFFFFF#000000##000000
##B0A3381.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E29
Deuteranopia (green-blind)
#B6A43E
Tritanopia (blue-blind)
#BD988D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b0a338;
/* rgb */ color: rgb(176, 163, 56);
/* oklch */ color: oklch(70.7% 0.126 102.3);
Tailwind
colors: {
  custom: {
    50: '#cbbd75',
    500: '#b0a338',
    950: '#000000',
  },
}
SCSS
$custom: #b0a338;
$custom-light: #cbbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a338",
  "rgb": {
    "r": 176,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 53.5,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70676,
    "c": 0.1261,
    "h": 102.3
  },
  "luminance": 0.3571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0A338

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

Preview Lab → · Contrast checker → · Palette generator →

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