#B7962F#B7962F

#B7962F is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.5% C 0.123 H 90.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#B7962F
RGBrgb(183, 150, 47)
HSLhsl(45, 59%, 45%)
HSVhsv(45, 74%, 72%)
CMYKcmyk(0%, 18%, 74.3%, 28.2%)
CIE-LABlab(63.41, 1.68, 55.85)
CIE-LCHlch(63.41, 55.88, 88.28°)
OKLaboklab(68.53% -0.0009 0.1233)
OKLCHoklch(68.53% 0.123 90.4)
XYZxyz(30.9496, 32.0871, 7.2521)
Luminance0.3209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7962F #2F50B7
analogous
#B7522F #B7962F #94B72F
triadic
#B7962F #2FB796 #962FB7
tetradic
#B7962F #2FB752 #2F50B7 #B72F94
square
#B7962F #2FB752 #2F50B7 #B72F94
split-complementary
#B7962F #2F94B7 #522FB7
monochromatic
#564616 #866E22 #B7962F #D2B351 #DFC882

Accessibility & contrast

On white

2.83
#B7962F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#B7962F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7962F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7962F#FFFFFF#000000##000000
##B7962F1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941F
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#C68982
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b7962f;
/* rgb */ color: rgb(183, 150, 47);
/* oklch */ color: oklch(68.5% 0.123 90.4);
Tailwind
colors: {
  custom: {
    50: '#d1b46f',
    500: '#b7962f',
    950: '#000000',
  },
}
SCSS
$custom: #b7962f;
$custom-light: #d1b46f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7962f",
  "rgb": {
    "r": 183,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 45.441,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68529,
    "c": 0.1233,
    "h": 90.4
  },
  "luminance": 0.32085
}

Semantic roles & 50–950 ramp

primary
#B7962F
secondary
#7A8DC8
accent
#6CE245
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B7962F

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

Preview Lab → · Contrast checker → · Palette generator →

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