#B2B768#B2B768

#B2B768 is a light, moderate yellow. Relative luminance 0.443; OKLCH L 75.8% C 0.103 H 111.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#B2B768
RGBrgb(178, 183, 104)
HSLhsl(64, 35%, 56%)
HSVhsv(64, 43%, 72%)
CMYKcmyk(2.7%, 0%, 43.2%, 28.2%)
CIE-LABlab(72.45, -13.58, 39.46)
CIE-LCHlch(72.45, 41.73, 108.99°)
OKLaboklab(75.78% -0.038 0.0952)
OKLCHoklch(75.78% 0.103 111.8)
XYZxyz(37.7928, 44.3321, 19.6601)
Luminance0.4433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B768 #6D68B7
analogous
#B79568 #B2B768 #8BB768
triadic
#B2B768 #68B2B7 #B768B2
tetradic
#B2B768 #68B795 #6D68B7 #B7688B
square
#B2B768 #68B795 #6D68B7 #B7688B
split-complementary
#B2B768 #688BB7 #9568B7
monochromatic
#6C6F35 #949949 #B2B768 #C7CB91 #DCDFBB

Accessibility & contrast

On white

2.13
#B2B768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#B2B768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B768
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B768#FFFFFF#000000##000000
##B2B7681.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B162
Deuteranopia (green-blind)
#C2B36C
Tritanopia (blue-blind)
#BBAFA4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b768;
/* rgb */ color: rgb(178, 183, 104);
/* oklch */ color: oklch(75.8% 0.103 111.8);
Tailwind
colors: {
  custom: {
    50: '#cacc94',
    500: '#b2b768',
    950: '#000000',
  },
}
SCSS
$custom: #b2b768;
$custom-light: #cacc94;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b768",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 104
  },
  "hsl": {
    "h": 63.797,
    "s": 35.426,
    "l": 56.275
  },
  "oklch": {
    "l": 0.75775,
    "c": 0.10251,
    "h": 111.8
  },
  "luminance": 0.44331
}

Semantic roles & 50–950 ramp

primary
#B2B768
secondary
#AFADCE
accent
#5CCB63
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13130D
muted
#82827E

Preview Lab

Preview with #B2B768

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

Preview Lab → · Contrast checker → · Palette generator →

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