#B7B335#B7B335

#B7B335 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.8% C 0.142 H 107.6°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#B7B335
RGBrgb(183, 179, 53)
HSLhsl(58, 55%, 46%)
HSVhsv(58, 71%, 72%)
CMYKcmyk(0%, 2.2%, 71%, 28.2%)
CIE-LABlab(71.26, -13.38, 61.21)
CIE-LCHlch(71.26, 62.65, 102.33°)
OKLaboklab(74.76% -0.043 0.1358)
OKLCHoklch(74.76% 0.142 107.6)
XYZxyz(36.2925, 42.5657, 9.6717)
Luminance0.4256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B335 #3539B7
analogous
#B77235 #B7B335 #7AB735
triadic
#B7B335 #35B7B3 #B335B7
tetradic
#B7B335 #35B772 #3539B7 #B7357A
square
#B7B335 #35B772 #3539B7 #B7357A
split-complementary
#B7B335 #357AB7 #7235B7
monochromatic
#58561A #888527 #B7B335 #CFCC5A #DDDA89

Accessibility & contrast

On white

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

On black

9.51
#B7B335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B335
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B335#FFFFFF#000000##000000
##B7B3351.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1F
Deuteranopia (green-blind)
#C4B13E
Tritanopia (blue-blind)
#C4A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b7b335;
/* rgb */ color: rgb(183, 179, 53);
/* oklch */ color: oklch(74.8% 0.142 107.6);
Tailwind
colors: {
  custom: {
    50: '#d0c975',
    500: '#b7b335',
    950: '#000000',
  },
}
SCSS
$custom: #b7b335;
$custom-light: #d0c975;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b335",
  "rgb": {
    "r": 183,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 58.154,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74764,
    "c": 0.14243,
    "h": 107.6
  },
  "luminance": 0.42565
}

Semantic roles & 50–950 ramp

primary
#B7B335
secondary
#8183C7
accent
#4EDE49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B335

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

Preview Lab → · Contrast checker → · Palette generator →

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