#B7B34F#B7B34F

#B7B34F is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.0% C 0.122 H 106.9°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#B7B34F
RGBrgb(183, 179, 79)
HSLhsl(58, 42%, 51%)
HSVhsv(58, 57%, 72%)
CMYKcmyk(0%, 2.2%, 56.8%, 28.2%)
CIE-LABlab(71.47, -11.74, 50.54)
CIE-LCHlch(71.47, 51.89, 103.07°)
OKLaboklab(75% -0.0356 0.1171)
OKLCHoklch(75% 0.122 106.9)
XYZxyz(37.0609, 42.8731, 13.7187)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B34F #4F53B7
analogous
#B77F4F #B7B34F #87B74F
triadic
#B7B34F #4FB7B3 #B34FB7
tetradic
#B7B34F #4FB77F #4F53B7 #B74F87
square
#B7B34F #4FB77F #4F53B7 #B74F87
split-complementary
#B7B34F #4F87B7 #7F4FB7
monochromatic
#636129 #8F8B3A #B7B34F #C9C67A #DBD9A6

Accessibility & contrast

On white

2.19
#B7B34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#B7B34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B34F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B34F#FFFFFF#000000##000000
##B7B34F1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD45
Deuteranopia (green-blind)
#C3B154
Tritanopia (blue-blind)
#C3A89D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b7b34f;
/* rgb */ color: rgb(183, 179, 79);
/* oklch */ color: oklch(75.0% 0.122 106.9);
Tailwind
colors: {
  custom: {
    50: '#cfc984',
    500: '#b7b34f',
    950: '#000000',
  },
}
SCSS
$custom: #b7b34f;
$custom-light: #cfc984;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b34f",
  "rgb": {
    "r": 183,
    "g": 179,
    "b": 79
  },
  "hsl": {
    "h": 57.692,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74998,
    "c": 0.1224,
    "h": 106.9
  },
  "luminance": 0.42872
}

Semantic roles & 50–950 ramp

primary
#B7B34F
secondary
#9A9CC8
accent
#5BD256
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B7B34F

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

Preview Lab → · Contrast checker → · Palette generator →

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