#7B7D1E#7B7D1E

#7B7D1E is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.113 H 110.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7B7D1E
RGBrgb(123, 125, 30)
HSLhsl(61, 61%, 30%)
HSVhsv(61, 76%, 49%)
CMYKcmyk(1.6%, 0%, 76%, 51%)
CIE-LABlab(50.65, -12.75, 48.10)
CIE-LCHlch(50.65, 49.76, 104.85°)
OKLaboklab(57.02% -0.0401 0.106)
OKLCHoklch(57.02% 0.113 110.7)
XYZxyz(15.7369, 18.9724, 4.0611)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7D1E #201E7D
analogous
#7D4F1E #7B7D1E #4B7D1E
triadic
#7B7D1E #1E7B7D #7D1E7B
tetradic
#7B7D1E #1E7D4F #201E7D #7D1E4B
square
#7B7D1E #1E7D4F #201E7D #7D1E4B
split-complementary
#7B7D1E #1E4B7D #4F1E7D
monochromatic
#1A1A06 #4A4C12 #7B7D1E #ACAE2A #CFD243

Accessibility & contrast

On white

4.38
#7B7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7B7D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7D1E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7D1E#FFFFFF#000000##000000
##7B7D1E1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770A
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#84756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7d1e;
/* rgb */ color: rgb(123, 125, 30);
/* oklch */ color: oklch(57.0% 0.113 110.7);
Tailwind
colors: {
  custom: {
    50: '#a4a262',
    500: '#7b7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #7b7d1e;
$custom-light: #a4a262;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7d1e",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 61.263,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.11329,
    "h": 110.7
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#7B7D1E
secondary
#4946B0
accent
#43E447
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #7B7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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