#B7B237#B7B237

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

Color values

HEX#B7B237
RGBrgb(183, 178, 55)
HSLhsl(58, 54%, 47%)
HSVhsv(58, 70%, 72%)
CMYKcmyk(0%, 2.7%, 69.9%, 28.2%)
CIE-LABlab(71.00, -12.76, 60.21)
CIE-LCHlch(71.00, 61.55, 101.97°)
OKLaboklab(74.56% -0.0411 0.134)
OKLCHoklch(74.56% 0.14 107)
XYZxyz(36.1398, 42.1851, 9.8525)
Luminance0.4218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B237 #373CB7
analogous
#B77237 #B7B237 #7CB737
triadic
#B7B237 #37B7B2 #B237B7
tetradic
#B7B237 #37B772 #373CB7 #B7377C
square
#B7B237 #37B772 #373CB7 #B7377C
split-complementary
#B7B237 #377CB7 #7237B7
monochromatic
#59561B #888429 #B7B237 #CECA5D #DCD98C

Accessibility & contrast

On white

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

On black

9.44
#B7B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B237
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B237#FFFFFF#000000##000000
##B7B2371.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7b237;
/* rgb */ color: rgb(183, 178, 55);
/* oklch */ color: oklch(74.6% 0.140 107.0);
Tailwind
colors: {
  custom: {
    50: '#d0c876',
    500: '#b7b237',
    950: '#000000',
  },
}
SCSS
$custom: #b7b237;
$custom-light: #d0c876;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b237",
  "rgb": {
    "r": 183,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 57.656,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7456,
    "c": 0.14016,
    "h": 107
  },
  "luminance": 0.42184
}

Semantic roles & 50–950 ramp

primary
#B7B237
secondary
#8386C7
accent
#50DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B237

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

Preview Lab → · Contrast checker → · Palette generator →

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