#8D751B#8D751B

#8D751B is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 57.0% C 0.107 H 93.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8D751B
RGBrgb(141, 117, 27)
HSLhsl(47, 68%, 33%)
HSVhsv(47, 81%, 55%)
CMYKcmyk(0%, 17%, 80.9%, 44.7%)
CIE-LABlab(50.06, -0.03, 49.24)
CIE-LCHlch(50.06, 49.24, 90.04°)
OKLaboklab(56.95% -0.0056 0.107)
OKLCHoklch(56.95% 0.107 93)
XYZxyz(17.5446, 18.4655, 3.6768)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D751B #1B338D
analogous
#8D3C1B #8D751B #6C8D1B
triadic
#8D751B #1B8D75 #751B8D
tetradic
#8D751B #1B8D3C #1B338D #8D1B6C
square
#8D751B #1B8D3C #1B338D #8D1B6C
split-complementary
#8D751B #1B6C8D #3C1B8D
monochromatic
#262007 #5A4A11 #8D751B #C0A025 #DCBC47

Accessibility & contrast

On white

4.47
#8D751B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8D751B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D751B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D751B#FFFFFF#000000##000000
##8D751B1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837306
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#996B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d751b;
/* rgb */ color: rgb(141, 117, 27);
/* oklch */ color: oklch(57.0% 0.107 93.0);
Tailwind
colors: {
  custom: {
    50: '#b29c60',
    500: '#8d751b',
    950: '#000000',
  },
}
SCSS
$custom: #8d751b;
$custom-light: #b29c60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d751b",
  "rgb": {
    "r": 141,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 47.368,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56951,
    "c": 0.10712,
    "h": 93
  },
  "luminance": 0.18464
}

Semantic roles & 50–950 ramp

primary
#8D751B
secondary
#465FBD
accent
#62EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D751B

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

Preview Lab → · Contrast checker → · Palette generator →

#8D751B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva