#7C783A#7C783A

#7C783A is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.2% C 0.084 H 105.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7C783A
RGBrgb(124, 120, 58)
HSLhsl(56, 36%, 36%)
HSVhsv(56, 53%, 49%)
CMYKcmyk(0%, 3.2%, 53.2%, 51.4%)
CIE-LABlab(49.53, -7.56, 34.22)
CIE-LCHlch(49.53, 35.04, 102.45°)
OKLaboklab(56.23% -0.0223 0.0807)
OKLCHoklch(56.23% 0.084 105.5)
XYZxyz(15.7928, 18.0240, 6.6492)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C783A #3A3E7C
analogous
#7C573A #7C783A #5F7C3A
triadic
#7C783A #3A7C78 #783A7C
tetradic
#7C783A #3A7C57 #3A3E7C #7C3A5F
square
#7C783A #3A7C57 #3A3E7C #7C3A5F
split-complementary
#7C783A #3A5F7C #573A7C
monochromatic
#292713 #525026 #7C783A #A6A04E #BDB973

Accessibility & contrast

On white

4.56
#7C783A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7C783A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C783A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C783A#FFFFFF#000000##000000
##7C783A1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817434
Deuteranopia (green-blind)
#83773D
Tritanopia (blue-blind)
#84716A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c783a;
/* rgb */ color: rgb(124, 120, 58);
/* oklch */ color: oklch(56.2% 0.084 105.5);
Tailwind
colors: {
  custom: {
    50: '#a49e72',
    500: '#7c783a',
    950: '#000000',
  },
}
SCSS
$custom: #7c783a;
$custom-light: #a49e72;
$custom-dark: #000000;
JSON
{
  "hex": "#7c783a",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 58
  },
  "hsl": {
    "h": 56.364,
    "s": 36.264,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.08371,
    "h": 105.5
  },
  "luminance": 0.18024
}

Semantic roles & 50–950 ramp

primary
#7C783A
secondary
#6B6FA7
accent
#62CC5C
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7C783A

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

Preview Lab → · Contrast checker → · Palette generator →

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