#B2B35A#B2B35A

#B2B35A is a light, moderate yellow. Relative luminance 0.424; OKLCH L 74.7% C 0.113 H 109.4°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B2B35A
RGBrgb(178, 179, 90)
HSLhsl(61, 37%, 53%)
HSVhsv(61, 50%, 70%)
CMYKcmyk(0.6%, 0%, 49.7%, 29.8%)
CIE-LABlab(71.18, -12.91, 44.87)
CIE-LCHlch(71.18, 46.69, 106.04°)
OKLaboklab(74.7% -0.0374 0.1061)
OKLCHoklch(74.7% 0.113 109.4)
XYZxyz(36.3265, 42.4442, 15.9498)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B35A #5B5AB3
analogous
#B3875A #B2B35A #85B35A
triadic
#B2B35A #5AB2B3 #B35AB2
tetradic
#B2B35A #5AB387 #5B5AB3 #B35A85
square
#B2B35A #5AB387 #5B5AB3 #B35A85
split-complementary
#B2B35A #5A85B3 #875AB3
monochromatic
#64642E #8D8E42 #B2B35A #C6C684 #D9DAAE

Accessibility & contrast

On white

2.21
#B2B35A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B2B35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B35A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B35A#FFFFFF#000000##000000
##B2B35A1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAD52
Deuteranopia (green-blind)
#C0B05E
Tritanopia (blue-blind)
#BDAA9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b35a;
/* rgb */ color: rgb(178, 179, 90);
/* oklch */ color: oklch(74.7% 0.113 109.4);
Tailwind
colors: {
  custom: {
    50: '#cbc98b',
    500: '#b2b35a',
    950: '#000000',
  },
}
SCSS
$custom: #b2b35a;
$custom-light: #cbc98b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b35a",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 90
  },
  "hsl": {
    "h": 60.674,
    "s": 36.929,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74703,
    "c": 0.11252,
    "h": 109.4
  },
  "luminance": 0.42443
}

Semantic roles & 50–950 ramp

primary
#B2B35A
secondary
#A2A1C8
accent
#5BCD5C
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #B2B35A

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

Preview Lab → · Contrast checker → · Palette generator →

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