#7C792B#7C792B

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

Color values

HEX#7C792B
RGBrgb(124, 121, 43)
HSLhsl(58, 49%, 33%)
HSVhsv(58, 65%, 49%)
CMYKcmyk(0%, 2.4%, 65.3%, 51.4%)
CIE-LABlab(49.66, -9.34, 41.76)
CIE-LCHlch(49.66, 42.79, 102.61°)
OKLaboklab(56.28% -0.0292 0.0949)
OKLCHoklch(56.28% 0.099 107.1)
XYZxyz(15.5861, 18.1347, 4.9644)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C792B #2B2E7C
analogous
#7C512B #7C792B #567C2B
triadic
#7C792B #2B7C79 #792B7C
tetradic
#7C792B #2B7C51 #2B2E7C #7C2B56
square
#7C792B #2B7C51 #2B2E7C #7C2B56
split-complementary
#7C792B #2B567C #512B7C
monochromatic
#21200B #4F4D1B #7C792B #A9A53B #C6C25B

Accessibility & contrast

On white

4.54
#7C792B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7C792B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C792B
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C792B#FFFFFF#000000##000000
##7C792B1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#857169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c792b;
/* rgb */ color: rgb(124, 121, 43);
/* oklch */ color: oklch(56.3% 0.099 107.1);
Tailwind
colors: {
  custom: {
    50: '#a49f68',
    500: '#7c792b',
    950: '#000000',
  },
}
SCSS
$custom: #7c792b;
$custom-light: #a49f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7c792b",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 57.778,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56281,
    "c": 0.09924,
    "h": 107.1
  },
  "luminance": 0.18134
}

Semantic roles & 50–950 ramp

primary
#7C792B
secondary
#575AAC
accent
#55D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7C792B

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

Preview Lab → · Contrast checker → · Palette generator →

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