#7B781D#7B781D

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

Color values

HEX#7B781D
RGBrgb(123, 120, 29)
HSLhsl(58, 62%, 30%)
HSVhsv(58, 76%, 48%)
CMYKcmyk(0%, 2.4%, 76.4%, 51.8%)
CIE-LABlab(49.17, -10.06, 47.07)
CIE-LCHlch(49.17, 48.13, 102.07°)
OKLaboklab(55.84% -0.0327 0.1036)
OKLCHoklch(55.84% 0.109 107.5)
XYZxyz(15.1072, 17.7331, 3.7892)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B781D #1D207B
analogous
#7B491D #7B781D #4F7B1D
triadic
#7B781D #1D7B78 #781D7B
tetradic
#7B781D #1D7B49 #1D207B #7B1D4F
square
#7B781D #1D7B49 #1D207B #7B1D4F
split-complementary
#7B781D #1D4F7B #491D7B
monochromatic
#191806 #494811 #7B781D #ADA829 #D2CD40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B781D#FFFFFF#000000##FFFFFF
##7B781D1.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)
#83730A
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#847067
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b781d;
/* rgb */ color: rgb(123, 120, 29);
/* oklch */ color: oklch(55.8% 0.109 107.5);
Tailwind
colors: {
  custom: {
    50: '#a49e61',
    500: '#7b781d',
    950: '#000000',
  },
}
SCSS
$custom: #7b781d;
$custom-light: #a49e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b781d",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 58.085,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.10861,
    "h": 107.5
  },
  "luminance": 0.17733
}

Semantic roles & 50–950 ramp

primary
#7B781D
secondary
#4548AF
accent
#48E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B781D

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

Preview Lab → · Contrast checker → · Palette generator →

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