#B59938#B59938

#B59938 is a light, moderate yellow. Relative luminance 0.329; OKLCH L 69.0% C 0.119 H 92.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#B59938
RGBrgb(181, 153, 56)
HSLhsl(47, 53%, 46%)
HSVhsv(47, 69%, 71%)
CMYKcmyk(0%, 15.5%, 69.1%, 29%)
CIE-LABlab(64.07, -0.37, 52.76)
CIE-LCHlch(64.07, 52.76, 90.41°)
OKLaboklab(69.03% -0.0056 0.1185)
OKLCHoklch(69.03% 0.119 92.7)
XYZxyz(31.1627, 32.8935, 8.4483)
Luminance0.3289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59938 #3854B5
analogous
#B55B38 #B59938 #93B538
triadic
#B59938 #38B599 #9938B5
tetradic
#B59938 #38B55B #3854B5 #B53893
square
#B59938 #38B55B #3854B5 #B53893
split-complementary
#B59938 #3893B5 #5B38B5
monochromatic
#584A1B #86712A #B59938 #CDB45D #DBCA8C

Accessibility & contrast

On white

2.77
#B59938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#B59938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59938
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59938#FFFFFF#000000##000000
##B599381.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9972B
Deuteranopia (green-blind)
#B09F3D
Tritanopia (blue-blind)
#C38D85
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b59938;
/* rgb */ color: rgb(181, 153, 56);
/* oklch */ color: oklch(69.0% 0.119 92.7);
Tailwind
colors: {
  custom: {
    50: '#cfb674',
    500: '#b59938',
    950: '#000000',
  },
}
SCSS
$custom: #b59938;
$custom-light: #cfb674;
$custom-dark: #000000;
JSON
{
  "hex": "#b59938",
  "rgb": {
    "r": 181,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 46.56,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69025,
    "c": 0.11864,
    "h": 92.7
  },
  "luminance": 0.32892
}

Semantic roles & 50–950 ramp

primary
#B59938
secondary
#8392C6
accent
#6CDC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B59938

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

Preview Lab → · Contrast checker → · Palette generator →

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