#B7B235#B7B235

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

Color values

HEX#B7B235
RGBrgb(183, 178, 53)
HSLhsl(58, 55%, 46%)
HSVhsv(58, 71%, 72%)
CMYKcmyk(0%, 2.7%, 71%, 28.2%)
CIE-LABlab(70.99, -12.86, 60.94)
CIE-LCHlch(70.99, 62.29, 101.92°)
OKLaboklab(74.55% -0.0415 0.1352)
OKLCHoklch(74.55% 0.141 107.1)
XYZxyz(36.0928, 42.1663, 9.6052)
Luminance0.4217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B235 #353AB7
analogous
#B77135 #B7B235 #7BB735
triadic
#B7B235 #35B7B2 #B235B7
tetradic
#B7B235 #35B771 #353AB7 #B7357B
square
#B7B235 #35B771 #353AB7 #B7357B
split-complementary
#B7B235 #357BB7 #7135B7
monochromatic
#58561A #888427 #B7B235 #CFCB5A #DDDA89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B235#FFFFFF#000000##000000
##B7B2351.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)
#C1AB20
Deuteranopia (green-blind)
#C4B03E
Tritanopia (blue-blind)
#C4A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b7b235;
/* rgb */ color: rgb(183, 178, 53);
/* oklch */ color: oklch(74.5% 0.141 107.1);
Tailwind
colors: {
  custom: {
    50: '#d0c875',
    500: '#b7b235',
    950: '#000000',
  },
}
SCSS
$custom: #b7b235;
$custom-light: #d0c875;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b235",
  "rgb": {
    "r": 183,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 57.692,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74546,
    "c": 0.14145,
    "h": 107.1
  },
  "luminance": 0.42165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7B235

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

Preview Lab → · Contrast checker → · Palette generator →

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