#8C792B#8C792B

#8C792B is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.9% C 0.099 H 95.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8C792B
RGBrgb(140, 121, 43)
HSLhsl(48, 53%, 36%)
HSVhsv(48, 69%, 55%)
CMYKcmyk(0%, 13.6%, 69.3%, 45.1%)
CIE-LABlab(51.18, -1.97, 43.82)
CIE-LCHlch(51.18, 43.87, 92.57°)
OKLaboklab(57.85% -0.0092 0.0987)
OKLCHoklch(57.85% 0.099 95.3)
XYZxyz(18.0895, 19.4255, 5.0817)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C792B #2B3E8C
analogous
#8C482B #8C792B #6E8C2B
triadic
#8C792B #2B8C79 #792B8C
tetradic
#8C792B #2B8C48 #2B3E8C #8C2B6E
square
#8C792B #2B8C48 #2B3E8C #8C2B6E
split-complementary
#8C792B #2B6E8C #482B8C
monochromatic
#2E280E #5D511D #8C792B #BBA139 #CFBA62

Accessibility & contrast

On white

4.30
#8C792B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8C792B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C792B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C792B#FFFFFF#000000##000000
##8C792B1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857621
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#977069
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8c792b;
/* rgb */ color: rgb(140, 121, 43);
/* oklch */ color: oklch(57.9% 0.099 95.3);
Tailwind
colors: {
  custom: {
    50: '#b19f69',
    500: '#8c792b',
    950: '#000000',
  },
}
SCSS
$custom: #8c792b;
$custom-light: #b19f69;
$custom-dark: #000000;
JSON
{
  "hex": "#8c792b",
  "rgb": {
    "r": 140,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 48.247,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57852,
    "c": 0.09916,
    "h": 95.3
  },
  "luminance": 0.19425
}

Semantic roles & 50–950 ramp

primary
#8C792B
secondary
#5E6FB5
accent
#68DC4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8C792B

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

Preview Lab → · Contrast checker → · Palette generator →

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