#7B792C#7B792C

#7B792C is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.099 H 107.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7B792C
RGBrgb(123, 121, 44)
HSLhsl(58, 47%, 33%)
HSVhsv(58, 64%, 48%)
CMYKcmyk(0%, 1.6%, 64.2%, 51.8%)
CIE-LABlab(49.58, -9.72, 41.18)
CIE-LCHlch(49.58, 42.32, 103.29°)
OKLaboklab(56.2% -0.0301 0.0938)
OKLCHoklch(56.2% 0.099 107.8)
XYZxyz(15.4609, 18.0680, 5.0554)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B792C #2C2E7B
analogous
#7B512C #7B792C #557B2C
triadic
#7B792C #2C7B79 #792C7B
tetradic
#7B792C #2C7B51 #2C2E7B #7B2C55
square
#7B792C #2C7B51 #2C2E7B #7B2C55
split-complementary
#7B792C #2C557B #512C7B
monochromatic
#21200C #4E4D1C #7B792C #A8A53C #C5C25D

Accessibility & contrast

On white

4.55
#7B792C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7B792C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B792C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B792C#FFFFFF#000000##000000
##7B792C1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#837423
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#847169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b792c;
/* rgb */ color: rgb(123, 121, 44);
/* oklch */ color: oklch(56.2% 0.099 107.8);
Tailwind
colors: {
  custom: {
    50: '#a49f69',
    500: '#7b792c',
    950: '#000000',
  },
}
SCSS
$custom: #7b792c;
$custom-light: #a49f69;
$custom-dark: #000000;
JSON
{
  "hex": "#7b792c",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 58.481,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56198,
    "c": 0.09854,
    "h": 107.8
  },
  "luminance": 0.18068
}

Semantic roles & 50–950 ramp

primary
#7B792C
secondary
#585AAB
accent
#54D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7B792C

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

Preview Lab → · Contrast checker → · Palette generator →

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