#B7B234#B7B234

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

Color values

HEX#B7B234
RGBrgb(183, 178, 52)
HSLhsl(58, 56%, 46%)
HSVhsv(58, 72%, 72%)
CMYKcmyk(0%, 2.7%, 71.6%, 28.2%)
CIE-LABlab(70.98, -12.91, 61.30)
CIE-LCHlch(70.98, 62.65, 101.89°)
OKLaboklab(74.54% -0.0418 0.1358)
OKLCHoklch(74.54% 0.142 107.1)
XYZxyz(36.0701, 42.1572, 9.4853)
Luminance0.4216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B234 #3439B7
analogous
#B77034 #B7B234 #7AB734
triadic
#B7B234 #34B7B2 #B234B7
tetradic
#B7B234 #34B770 #3439B7 #B7347A
square
#B7B234 #34B770 #3439B7 #B7347A
split-complementary
#B7B234 #347AB7 #7034B7
monochromatic
#585519 #878426 #B7B234 #D0CB59 #DDDA88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B234#FFFFFF#000000##000000
##B7B2341.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)
#C1AB1E
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#C4A699
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b7b234;
/* rgb */ color: rgb(183, 178, 52);
/* oklch */ color: oklch(74.5% 0.142 107.1);
Tailwind
colors: {
  custom: {
    50: '#d0c874',
    500: '#b7b234',
    950: '#000000',
  },
}
SCSS
$custom: #b7b234;
$custom-light: #d0c874;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b234",
  "rgb": {
    "r": 183,
    "g": 178,
    "b": 52
  },
  "hsl": {
    "h": 57.71,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74539,
    "c": 0.14208,
    "h": 107.1
  },
  "luminance": 0.42156
}

Semantic roles & 50–950 ramp

primary
#B7B234
secondary
#8082C7
accent
#4EDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B234

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

Preview Lab → · Contrast checker → · Palette generator →

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