#B5A243#B5A243

#B5A243 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.117 H 98.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B5A243
RGBrgb(181, 162, 67)
HSLhsl(50, 46%, 49%)
HSVhsv(50, 63%, 71%)
CMYKcmyk(0%, 10.5%, 63%, 29%)
CIE-LABlab(66.57, -4.53, 50.56)
CIE-LCHlch(66.57, 50.76, 95.13°)
OKLaboklab(71.03% -0.0162 0.1156)
OKLCHoklch(71.03% 0.117 98)
XYZxyz(32.9909, 36.0712, 10.5338)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A243 #4356B5
analogous
#B56943 #B5A243 #8FB543
triadic
#B5A243 #43B5A2 #A243B5
tetradic
#B5A243 #43B569 #4356B5 #B5438F
square
#B5A243 #43B569 #4356B5 #B5438F
split-complementary
#B5A243 #438FB5 #6943B5
monochromatic
#5C5222 #887A32 #B5A243 #C9B96C #D9CF99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A243#FFFFFF#000000##000000
##B5A2431.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)
#B19E38
Deuteranopia (green-blind)
#B6A548
Tritanopia (blue-blind)
#C2978E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b5a243;
/* rgb */ color: rgb(181, 162, 67);
/* oklch */ color: oklch(71.0% 0.117 98.0);
Tailwind
colors: {
  custom: {
    50: '#cebd7b',
    500: '#b5a243',
    950: '#000000',
  },
}
SCSS
$custom: #b5a243;
$custom-light: #cebd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a243",
  "rgb": {
    "r": 181,
    "g": 162,
    "b": 67
  },
  "hsl": {
    "h": 50,
    "s": 45.968,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71032,
    "c": 0.11675,
    "h": 98
  },
  "luminance": 0.3607
}

Semantic roles & 50–950 ramp

primary
#B5A243
secondary
#8F98C5
accent
#68D652
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B5A243

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

Preview Lab → · Contrast checker → · Palette generator →

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