#7B843E#7B843E

#7B843E is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.0% C 0.095 H 115.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7B843E
RGBrgb(123, 132, 62)
HSLhsl(68, 36%, 38%)
HSVhsv(68, 53%, 52%)
CMYKcmyk(6.8%, 0%, 53%, 48.2%)
CIE-LABlab(53.02, -14.18, 36.25)
CIE-LCHlch(53.02, 38.92, 111.37°)
OKLaboklab(59.01% -0.0407 0.0855)
OKLCHoklch(59.01% 0.095 115.4)
XYZxyz(17.2894, 21.0615, 7.7110)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B843E #473E84
analogous
#846A3E #7B843E #58843E
triadic
#7B843E #3E7B84 #843E7B
tetradic
#7B843E #3E846A #473E84 #843E58
square
#7B843E #3E846A #473E84 #843E58
split-complementary
#7B843E #3E5884 #6A3E84
monochromatic
#2D3117 #545A2A #7B843E #A2AE52 #B8C17B

Accessibility & contrast

On white

4.03
#7B843E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7B843E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B843E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B843E#FFFFFF#000000##000000
##7B843E1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E37
Deuteranopia (green-blind)
#8C7F42
Tritanopia (blue-blind)
#827D74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b843e;
/* rgb */ color: rgb(123, 132, 62);
/* oklch */ color: oklch(59.0% 0.095 115.4);
Tailwind
colors: {
  custom: {
    50: '#a3a775',
    500: '#7b843e',
    950: '#000000',
  },
}
SCSS
$custom: #7b843e;
$custom-light: #a3a775;
$custom-dark: #000000;
JSON
{
  "hex": "#7b843e",
  "rgb": {
    "r": 123,
    "g": 132,
    "b": 62
  },
  "hsl": {
    "h": 67.714,
    "s": 36.082,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59005,
    "c": 0.0947,
    "h": 115.4
  },
  "luminance": 0.21061
}

Semantic roles & 50–950 ramp

primary
#7B843E
secondary
#7A73AB
accent
#5CCC6A
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #7B843E

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

Preview Lab → · Contrast checker → · Palette generator →

#7B843E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva