#7B781E#7B781E

#7B781E is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.108 H 107.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7B781E
RGBrgb(123, 120, 30)
HSLhsl(58, 61%, 30%)
HSVhsv(58, 76%, 48%)
CMYKcmyk(0%, 2.4%, 75.6%, 51.8%)
CIE-LABlab(49.18, -10.02, 46.70)
CIE-LCHlch(49.18, 47.76, 102.11°)
OKLaboklab(55.84% -0.0325 0.103)
OKLCHoklch(55.84% 0.108 107.5)
XYZxyz(15.1198, 17.7381, 3.8554)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B781E #1E217B
analogous
#7B4A1E #7B781E #4F7B1E
triadic
#7B781E #1E7B78 #781E7B
tetradic
#7B781E #1E7B4A #1E217B #7B1E4F
square
#7B781E #1E7B4A #1E217B #7B1E4F
split-complementary
#7B781E #1E4F7B #4A1E7B
monochromatic
#191806 #4A4812 #7B781E #ACA82A #D1CC42

Accessibility & contrast

On white

4.62
#7B781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7B781E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B781E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B781E#FFFFFF#000000##FFFFFF
##7B781E1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730D
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#847067
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b781e;
/* rgb */ color: rgb(123, 120, 30);
/* oklch */ color: oklch(55.8% 0.108 107.5);
Tailwind
colors: {
  custom: {
    50: '#a49e61',
    500: '#7b781e',
    950: '#000000',
  },
}
SCSS
$custom: #7b781e;
$custom-light: #a49e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b781e",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 58.065,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.55843,
    "c": 0.10798,
    "h": 107.5
  },
  "luminance": 0.17738
}

Semantic roles & 50–950 ramp

primary
#7B781E
secondary
#464AAE
accent
#49E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7B781E

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

Preview Lab → · Contrast checker → · Palette generator →

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