#B7983A#B7983A

#B7983A is a light, moderate yellow. Relative luminance 0.328; OKLCH L 69.0% C 0.117 H 90.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#B7983A
RGBrgb(183, 152, 58)
HSLhsl(45, 52%, 47%)
HSVhsv(45, 68%, 72%)
CMYKcmyk(0%, 16.9%, 68.3%, 28.2%)
CIE-LABlab(64.02, 1.16, 51.90)
CIE-LCHlch(64.02, 51.91, 88.71°)
OKLaboklab(69.04% -0.0011 0.117)
OKLCHoklch(69.04% 0.117 90.5)
XYZxyz(31.5221, 32.8311, 8.6789)
Luminance0.3283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7983A #3A59B7
analogous
#B75A3A #B7983A #98B73A
triadic
#B7983A #3AB798 #983AB7
tetradic
#B7983A #3AB75A #3A59B7 #B73A98
square
#B7983A #3AB75A #3A59B7 #B73A98
split-complementary
#B7983A #3A98B7 #5A3AB7
monochromatic
#5A4B1D #89712B #B7983A #CDB261 #DCC990

Accessibility & contrast

On white

2.78
#B7983A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#B7983A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7983A
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7983A#FFFFFF#000000##000000
##B7983A1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8962E
Deuteranopia (green-blind)
#B09F3E
Tritanopia (blue-blind)
#C68C84
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b7983a;
/* rgb */ color: rgb(183, 152, 58);
/* oklch */ color: oklch(69.0% 0.117 90.5);
Tailwind
colors: {
  custom: {
    50: '#d0b675',
    500: '#b7983a',
    950: '#000000',
  },
}
SCSS
$custom: #b7983a;
$custom-light: #d0b675;
$custom-dark: #000000;
JSON
{
  "hex": "#b7983a",
  "rgb": {
    "r": 183,
    "g": 152,
    "b": 58
  },
  "hsl": {
    "h": 45.12,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.69036,
    "c": 0.11699,
    "h": 90.5
  },
  "luminance": 0.32829
}

Semantic roles & 50–950 ramp

primary
#B7983A
secondary
#8696C7
accent
#70DB4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B7983A

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

Preview Lab → · Contrast checker → · Palette generator →

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