#B2B339#B2B339

#B2B339 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.4% C 0.141 H 109.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B2B339
RGBrgb(178, 179, 57)
HSLhsl(60, 52%, 46%)
HSVhsv(60, 68%, 70%)
CMYKcmyk(0.6%, 0%, 68.2%, 29.8%)
CIE-LABlab(70.87, -15.32, 59.18)
CIE-LCHlch(70.87, 61.13, 104.51°)
OKLaboklab(74.36% -0.0478 0.1323)
OKLCHoklch(74.36% 0.141 109.8)
XYZxyz(35.2199, 42.0016, 10.1219)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B339 #3A39B3
analogous
#B37739 #B2B339 #75B339
triadic
#B2B339 #39B2B3 #B339B2
tetradic
#B2B339 #39B377 #3A39B3 #B33975
square
#B2B339 #39B377 #3A39B3 #B33975
split-complementary
#B2B339 #3975B3 #7739B3
monochromatic
#56561B #84852A #B2B339 #CBCC5E #DADA8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B339#FFFFFF#000000##000000
##B2B3391.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)
#C1AB26
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#BEA89B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b339;
/* rgb */ color: rgb(178, 179, 57);
/* oklch */ color: oklch(74.4% 0.141 109.8);
Tailwind
colors: {
  custom: {
    50: '#ccc977',
    500: '#b2b339',
    950: '#000000',
  },
}
SCSS
$custom: #b2b339;
$custom-light: #ccc977;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b339",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 60.492,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74363,
    "c": 0.14069,
    "h": 109.8
  },
  "luminance": 0.42001
}

Semantic roles & 50–950 ramp

primary
#B2B339
secondary
#8383C5
accent
#4DDB4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B339

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

Preview Lab → · Contrast checker → · Palette generator →

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