#B5A239#B5A239

#B5A239 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.125 H 98.9°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B5A239
RGBrgb(181, 162, 57)
HSLhsl(51, 52%, 47%)
HSVhsv(51, 69%, 71%)
CMYKcmyk(0%, 10.5%, 68.5%, 29%)
CIE-LABlab(66.49, -5.15, 54.82)
CIE-LCHlch(66.49, 55.06, 95.37°)
OKLaboklab(70.94% -0.0192 0.1231)
OKLCHoklch(70.94% 0.125 98.9)
XYZxyz(32.7164, 35.9614, 9.0881)
Luminance0.3596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A239 #394CB5
analogous
#B56439 #B5A239 #8AB539
triadic
#B5A239 #39B5A2 #A239B5
tetradic
#B5A239 #39B564 #394CB5 #B5398A
square
#B5A239 #39B564 #394CB5 #B5398A
split-complementary
#B5A239 #398AB5 #6439B5
monochromatic
#584F1C #86782A #B5A239 #CDBC5F #DBCF8D

Accessibility & contrast

On white

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

On black

8.19
#B5A239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A239
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A239#FFFFFF#000000##000000
##B5A2391.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E2B
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#C3968D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b5a239;
/* rgb */ color: rgb(181, 162, 57);
/* oklch */ color: oklch(70.9% 0.125 98.9);
Tailwind
colors: {
  custom: {
    50: '#cfbd75',
    500: '#b5a239',
    950: '#000000',
  },
}
SCSS
$custom: #b5a239;
$custom-light: #cfbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a239",
  "rgb": {
    "r": 181,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 50.806,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70939,
    "c": 0.12454,
    "h": 98.9
  },
  "luminance": 0.3596
}

Semantic roles & 50–950 ramp

primary
#B5A239
secondary
#848EC6
accent
#62DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A239

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

Preview Lab → · Contrast checker → · Palette generator →

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