#7B7022#7B7022

#7B7022 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.097 H 101.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7B7022
RGBrgb(123, 112, 34)
HSLhsl(53, 57%, 31%)
HSVhsv(53, 72%, 48%)
CMYKcmyk(0%, 8.9%, 72.4%, 51.8%)
CIE-LABlab(46.86, -5.33, 42.83)
CIE-LCHlch(46.86, 43.16, 97.09°)
OKLaboklab(54.01% -0.0188 0.0956)
OKLCHoklch(54.01% 0.097 101.1)
XYZxyz(14.2519, 15.9154, 3.8343)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7022 #222D7B
analogous
#7B4322 #7B7022 #597B22
triadic
#7B7022 #227B70 #70227B
tetradic
#7B7022 #227B43 #222D7B #7B2259
square
#7B7022 #227B43 #222D7B #7B2259
split-complementary
#7B7022 #22597B #43227B
monochromatic
#1B1907 #4B4415 #7B7022 #AB9C2F #CDBD4A

Accessibility & contrast

On white

5.02
#7B7022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7B7022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7022
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7022#FFFFFF#000000##FFFFFF
##7B70221.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D16
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#856860
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b7022;
/* rgb */ color: rgb(123, 112, 34);
/* oklch */ color: oklch(54.0% 0.097 101.1);
Tailwind
colors: {
  custom: {
    50: '#a49862',
    500: '#7b7022',
    950: '#000000',
  },
}
SCSS
$custom: #7b7022;
$custom-light: #a49862;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7022",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 52.584,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54011,
    "c": 0.09742,
    "h": 101.1
  },
  "luminance": 0.15915
}

Semantic roles & 50–950 ramp

primary
#7B7022
secondary
#4B57AE
accent
#5BE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7B7022

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

Preview Lab → · Contrast checker → · Palette generator →

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