#7B783D#7B783D

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

Color values

HEX#7B783D
RGBrgb(123, 120, 61)
HSLhsl(57, 34%, 36%)
HSVhsv(57, 50%, 48%)
CMYKcmyk(0%, 2.4%, 50.4%, 51.8%)
CIE-LABlab(49.47, -7.71, 32.55)
CIE-LCHlch(49.47, 33.45, 103.33°)
OKLaboklab(56.18% -0.0223 0.0774)
OKLCHoklch(56.18% 0.081 106.1)
XYZxyz(15.7275, 17.9812, 7.0562)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B783D #3D407B
analogous
#7B593D #7B783D #5F7B3D
triadic
#7B783D #3D7B78 #783D7B
tetradic
#7B783D #3D7B59 #3D407B #7B3D5F
square
#7B783D #3D7B59 #3D407B #7B3D5F
split-complementary
#7B783D #3D5F7B #593D7B
monochromatic
#292814 #525029 #7B783D #A4A051 #BCB877

Accessibility & contrast

On white

4.57
#7B783D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B783D#FFFFFF#000000##000000
##7B783D1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817438
Deuteranopia (green-blind)
#827740
Tritanopia (blue-blind)
#83716A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b783d;
/* rgb */ color: rgb(123, 120, 61);
/* oklch */ color: oklch(56.2% 0.081 106.1);
Tailwind
colors: {
  custom: {
    50: '#a39e74',
    500: '#7b783d',
    950: '#000000',
  },
}
SCSS
$custom: #7b783d;
$custom-light: #a39e74;
$custom-dark: #000000;
JSON
{
  "hex": "#7b783d",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 61
  },
  "hsl": {
    "h": 57.097,
    "s": 33.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56175,
    "c": 0.08051,
    "h": 106.1
  },
  "luminance": 0.17981
}

Semantic roles & 50–950 ramp

primary
#7B783D
secondary
#6E71A6
accent
#63CA5E
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7B783D

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

Preview Lab → · Contrast checker → · Palette generator →

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