#B2B057#B2B057

#B2B057 is a light, moderate yellow. Relative luminance 0.412; OKLCH L 74.0% C 0.112 H 107.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B2B057
RGBrgb(178, 176, 87)
HSLhsl(59, 37%, 52%)
HSVhsv(59, 51%, 70%)
CMYKcmyk(0%, 1.1%, 51.1%, 30.2%)
CIE-LABlab(70.32, -11.62, 45.32)
CIE-LCHlch(70.32, 46.79, 104.39°)
OKLaboklab(74.01% -0.0341 0.1068)
OKLCHoklch(74.01% 0.112 107.7)
XYZxyz(35.6066, 41.2047, 15.0926)
Luminance0.4120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B057 #5759B2
analogous
#B28357 #B2B057 #87B257
triadic
#B2B057 #57B2B0 #B057B2
tetradic
#B2B057 #57B283 #5759B2 #B25787
square
#B2B057 #57B283 #5759B2 #B25787
split-complementary
#B2B057 #5787B2 #8357B2
monochromatic
#62612D #8C8A40 #B2B057 #C5C481 #D8D7AB

Accessibility & contrast

On white

2.27
#B2B057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B2B057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B057
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B057#FFFFFF#000000##000000
##B2B0571.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAA4F
Deuteranopia (green-blind)
#BEAE5B
Tritanopia (blue-blind)
#BDA69C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b057;
/* rgb */ color: rgb(178, 176, 87);
/* oklch */ color: oklch(74.0% 0.112 107.7);
Tailwind
colors: {
  custom: {
    50: '#cbc789',
    500: '#b2b057',
    950: '#000000',
  },
}
SCSS
$custom: #b2b057;
$custom-light: #cbc789;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b057",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 87
  },
  "hsl": {
    "h": 58.681,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74009,
    "c": 0.11211,
    "h": 107.7
  },
  "luminance": 0.41204
}

Semantic roles & 50–950 ramp

primary
#B2B057
secondary
#9E9FC6
accent
#5DCD5B
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B2B057

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

Preview Lab → · Contrast checker → · Palette generator →

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