#B7952F#B7952F

#B7952F is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.3% C 0.123 H 89.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#B7952F
RGBrgb(183, 149, 47)
HSLhsl(45, 59%, 45%)
HSVhsv(45, 74%, 72%)
CMYKcmyk(0%, 18.6%, 74.3%, 28.2%)
CIE-LABlab(63.15, 2.23, 55.60)
CIE-LCHlch(63.15, 55.64, 87.71°)
OKLaboklab(68.32% 0.0006 0.1228)
OKLCHoklch(68.32% 0.123 89.7)
XYZxyz(30.7907, 31.7694, 7.1991)
Luminance0.3177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7952F #2F51B7
analogous
#B7512F #B7952F #95B72F
triadic
#B7952F #2FB795 #952FB7
tetradic
#B7952F #2FB751 #2F51B7 #B72F95
square
#B7952F #2FB751 #2F51B7 #B72F95
split-complementary
#B7952F #2F95B7 #512FB7
monochromatic
#564616 #866D22 #B7952F #D2B251 #DFC782

Accessibility & contrast

On white

2.86
#B7952F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#B7952F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7952F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7952F#FFFFFF#000000##000000
##B7952F1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931F
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#C68881
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b7952f;
/* rgb */ color: rgb(183, 149, 47);
/* oklch */ color: oklch(68.3% 0.123 89.7);
Tailwind
colors: {
  custom: {
    50: '#d1b36e',
    500: '#b7952f',
    950: '#000000',
  },
}
SCSS
$custom: #b7952f;
$custom-light: #d1b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7952f",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 45,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68322,
    "c": 0.12276,
    "h": 89.7
  },
  "luminance": 0.31767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7952F

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

Preview Lab → · Contrast checker → · Palette generator →

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