#7B7D2E#7B7D2E

#7B7D2E is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.101 H 110.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7B7D2E
RGBrgb(123, 125, 46)
HSLhsl(62, 46%, 34%)
HSVhsv(62, 63%, 49%)
CMYKcmyk(1.6%, 0%, 63.2%, 51%)
CIE-LABlab(50.78, -11.77, 41.54)
CIE-LCHlch(50.78, 43.18, 105.82°)
OKLaboklab(57.16% -0.0356 0.0949)
OKLCHoklch(57.16% 0.101 110.6)
XYZxyz(15.9956, 19.0758, 5.4236)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7D2E #302E7D
analogous
#7D572E #7B7D2E #537D2E
triadic
#7B7D2E #2E7B7D #7D2E7B
tetradic
#7B7D2E #2E7D57 #302E7D #7D2E53
square
#7B7D2E #2E7D57 #302E7D #7D2E53
split-complementary
#7B7D2E #2E537D #572E7D
monochromatic
#23240D #4F501E #7B7D2E #A7AA3E #C2C561

Accessibility & contrast

On white

4.36
#7B7D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7B7D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7D2E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7D2E#FFFFFF#000000##000000
##7B7D2E1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877825
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#83756C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7d2e;
/* rgb */ color: rgb(123, 125, 46);
/* oklch */ color: oklch(57.2% 0.101 110.6);
Tailwind
colors: {
  custom: {
    50: '#a3a26b',
    500: '#7b7d2e',
    950: '#000000',
  },
}
SCSS
$custom: #7b7d2e;
$custom-light: #a3a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7d2e",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 61.519,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57159,
    "c": 0.10137,
    "h": 110.6
  },
  "luminance": 0.19075
}

Semantic roles & 50–950 ramp

primary
#7B7D2E
secondary
#5D5BAB
accent
#52D655
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #7B7D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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