#B5B06F#B5B06F

#B5B06F is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.6% C 0.086 H 104.5°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B5B06F
RGBrgb(181, 176, 111)
HSLhsl(56, 32%, 57%)
HSVhsv(56, 39%, 71%)
CMYKcmyk(0%, 2.8%, 38.7%, 29%)
CIE-LABlab(70.89, -7.95, 33.93)
CIE-LCHlch(70.89, 34.85, 103.19°)
OKLaboklab(74.63% -0.0215 0.0831)
OKLCHoklch(74.63% 0.086 104.5)
XYZxyz(37.4512, 42.0230, 21.1743)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B06F #6F74B5
analogous
#B58D6F #B5B06F #97B56F
triadic
#B5B06F #6FB5B0 #B06FB5
tetradic
#B5B06F #6FB58D #6F74B5 #B56F97
square
#B5B06F #6FB58D #6F74B5 #B56F97
split-complementary
#B5B06F #6F97B5 #8D6FB5
monochromatic
#706C3A #98934E #B5B06F #CAC697 #DFDCC0

Accessibility & contrast

On white

2.23
#B5B06F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B5B06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B06F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B06F#FFFFFF#000000##000000
##B5B06F1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAC6A
Deuteranopia (green-blind)
#BDAF72
Tritanopia (blue-blind)
#BFA8A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b5b06f;
/* rgb */ color: rgb(181, 176, 111);
/* oklch */ color: oklch(74.6% 0.086 104.5);
Tailwind
colors: {
  custom: {
    50: '#ccc799',
    500: '#b5b06f',
    950: '#000000',
  },
}
SCSS
$custom: #b5b06f;
$custom-light: #ccc799;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b06f",
  "rgb": {
    "r": 181,
    "g": 176,
    "b": 111
  },
  "hsl": {
    "h": 55.714,
    "s": 32.11,
    "l": 57.255
  },
  "oklch": {
    "l": 0.74625,
    "c": 0.08578,
    "h": 104.5
  },
  "luminance": 0.42022
}

Semantic roles & 50–950 ramp

primary
#B5B06F
secondary
#B2B4CE
accent
#67C860
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B5B06F

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

Preview Lab → · Contrast checker → · Palette generator →

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