#7B7D29#7B7D29

#7B7D29 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.106 H 110.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7B7D29
RGBrgb(123, 125, 41)
HSLhsl(61, 51%, 33%)
HSVhsv(61, 67%, 49%)
CMYKcmyk(1.6%, 0%, 67.2%, 51%)
CIE-LABlab(50.73, -12.12, 43.75)
CIE-LCHlch(50.73, 45.40, 105.49°)
OKLaboklab(57.11% -0.0372 0.0988)
OKLCHoklch(57.11% 0.106 110.6)
XYZxyz(15.9027, 19.0387, 4.9345)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7D29 #2B297D
analogous
#7D5529 #7B7D29 #517D29
triadic
#7B7D29 #297B7D #7D297B
tetradic
#7B7D29 #297D55 #2B297D #7D2951
square
#7B7D29 #297D55 #2B297D #7D2951
split-complementary
#7B7D29 #29517D #55297D
monochromatic
#20210B #4E4F1A #7B7D29 #A8AB38 #C6C858

Accessibility & contrast

On white

4.37
#7B7D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7B7D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7D29
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7D29#FFFFFF#000000##000000
##7B7D291.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771E
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#84756C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7d29;
/* rgb */ color: rgb(123, 125, 41);
/* oklch */ color: oklch(57.1% 0.106 110.6);
Tailwind
colors: {
  custom: {
    50: '#a4a268',
    500: '#7b7d29',
    950: '#000000',
  },
}
SCSS
$custom: #7b7d29;
$custom-light: #a4a268;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7d29",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 61.429,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5711,
    "c": 0.10554,
    "h": 110.6
  },
  "luminance": 0.19038
}

Semantic roles & 50–950 ramp

primary
#7B7D29
secondary
#5654AE
accent
#4EDA51
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #7B7D29

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

Preview Lab → · Contrast checker → · Palette generator →

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