#B7B236#B7B236

#B7B236 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.6% C 0.141 H 107.1°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#B7B236
RGBrgb(183, 178, 54)
HSLhsl(58, 54%, 46%)
HSVhsv(58, 70%, 72%)
CMYKcmyk(0%, 2.7%, 70.5%, 28.2%)
CIE-LABlab(70.99, -12.81, 60.58)
CIE-LCHlch(70.99, 61.92, 101.94°)
OKLaboklab(74.55% -0.0413 0.1346)
OKLCHoklch(74.55% 0.141 107.1)
XYZxyz(36.1161, 42.1756, 9.7276)
Luminance0.4217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B236 #363BB7
analogous
#B77236 #B7B236 #7CB736
triadic
#B7B236 #36B7B2 #B236B7
tetradic
#B7B236 #36B772 #363BB7 #B7367C
square
#B7B236 #36B772 #363BB7 #B7367C
split-complementary
#B7B236 #367CB7 #7236B7
monochromatic
#58561A #888428 #B7B236 #CFCA5B #DDDA8B

Accessibility & contrast

On white

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

On black

9.43
#B7B236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B236
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B236#FFFFFF#000000##000000
##B7B2361.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB21
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#C4A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b7b236;
/* rgb */ color: rgb(183, 178, 54);
/* oklch */ color: oklch(74.6% 0.141 107.1);
Tailwind
colors: {
  custom: {
    50: '#d0c875',
    500: '#b7b236',
    950: '#000000',
  },
}
SCSS
$custom: #b7b236;
$custom-light: #d0c875;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b236",
  "rgb": {
    "r": 183,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 57.674,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74553,
    "c": 0.14082,
    "h": 107.1
  },
  "luminance": 0.42174
}

Semantic roles & 50–950 ramp

primary
#B7B236
secondary
#8285C7
accent
#50DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B236

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

Preview Lab → · Contrast checker → · Palette generator →

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