#7B7E2E#7B7E2E

#7B7E2E is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.103 H 111.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7B7E2E
RGBrgb(123, 126, 46)
HSLhsl(62, 47%, 34%)
HSVhsv(62, 63%, 49%)
CMYKcmyk(2.4%, 0%, 63.5%, 50.6%)
CIE-LABlab(51.07, -12.32, 41.86)
CIE-LCHlch(51.07, 43.64, 106.40°)
OKLaboklab(57.4% -0.0372 0.0956)
OKLCHoklch(57.4% 0.103 111.3)
XYZxyz(16.1228, 19.3303, 5.4660)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7E2E #312E7E
analogous
#7E592E #7B7E2E #537E2E
triadic
#7B7E2E #2E7B7E #7E2E7B
tetradic
#7B7E2E #2E7E59 #312E7E #7E2E53
square
#7B7E2E #2E7E59 #312E7E #7E2E53
split-complementary
#7B7E2E #2E537E #592E7E
monochromatic
#23240D #4F511E #7B7E2E #A7AB3E #C2C561

Accessibility & contrast

On white

4.32
#7B7E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7B7E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7E2E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7E2E#FFFFFF#000000##000000
##7B7E2E1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#83766D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7b7e2e;
/* rgb */ color: rgb(123, 126, 46);
/* oklch */ color: oklch(57.4% 0.103 111.3);
Tailwind
colors: {
  custom: {
    50: '#a3a36b',
    500: '#7b7e2e',
    950: '#000000',
  },
}
SCSS
$custom: #7b7e2e;
$custom-light: #a3a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7e2e",
  "rgb": {
    "r": 123,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 62.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57395,
    "c": 0.10255,
    "h": 111.3
  },
  "luminance": 0.1933
}

Semantic roles & 50–950 ramp

primary
#7B7E2E
secondary
#5F5CAC
accent
#52D657
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7B7E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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