#B1B339#B1B339

#B1B339 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.3% C 0.141 H 110.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#B1B339
RGBrgb(177, 179, 57)
HSLhsl(61, 52%, 46%)
HSVhsv(61, 68%, 70%)
CMYKcmyk(1.1%, 0%, 68.2%, 29.8%)
CIE-LABlab(70.79, -15.75, 59.07)
CIE-LCHlch(70.79, 61.13, 104.93°)
OKLaboklab(74.28% -0.0489 0.1321)
OKLCHoklch(74.28% 0.141 110.3)
XYZxyz(34.9912, 41.8837, 10.1112)
Luminance0.4188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B339 #3B39B3
analogous
#B37839 #B1B339 #74B339
triadic
#B1B339 #39B1B3 #B339B1
tetradic
#B1B339 #39B378 #3B39B3 #B33974
square
#B1B339 #39B378 #3B39B3 #B33974
split-complementary
#B1B339 #3974B3 #7839B3
monochromatic
#55561B #83852A #B1B339 #CACC5E #D9DA8C

Accessibility & contrast

On white

2.24
#B1B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#B1B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B339
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B339#FFFFFF#000000##000000
##B1B3391.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB26
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#BDA89B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b1b339;
/* rgb */ color: rgb(177, 179, 57);
/* oklch */ color: oklch(74.3% 0.141 110.3);
Tailwind
colors: {
  custom: {
    50: '#cbc977',
    500: '#b1b339',
    950: '#000000',
  },
}
SCSS
$custom: #b1b339;
$custom-light: #cbc977;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b339",
  "rgb": {
    "r": 177,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 60.984,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74278,
    "c": 0.1409,
    "h": 110.3
  },
  "luminance": 0.41883
}

Semantic roles & 50–950 ramp

primary
#B1B339
secondary
#8483C5
accent
#4DDB4F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B339

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

Preview Lab → · Contrast checker → · Palette generator →

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