#7C722B#7C722B

#7C722B is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.092 H 101.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7C722B
RGBrgb(124, 114, 43)
HSLhsl(53, 49%, 33%)
HSVhsv(53, 65%, 49%)
CMYKcmyk(0%, 8.1%, 65.3%, 51.4%)
CIE-LABlab(47.62, -5.42, 39.57)
CIE-LCHlch(47.62, 39.94, 97.80°)
OKLaboklab(54.66% -0.018 0.0902)
OKLCHoklch(54.66% 0.092 101.3)
XYZxyz(14.7661, 16.4947, 4.6910)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C722B #2B357C
analogous
#7C4A2B #7C722B #5D7C2B
triadic
#7C722B #2B7C72 #722B7C
tetradic
#7C722B #2B7C4A #2B357C #7C2B5D
square
#7C722B #2B7C4A #2B357C #7C2B5D
split-complementary
#7C722B #2B5D7C #4A2B7C
monochromatic
#211E0B #4F481B #7C722B #A99C3B #C6B95B

Accessibility & contrast

On white

4.89
#7C722B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7C722B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C722B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C722B#FFFFFF#000000##FFFFFF
##7C722B1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F23
Deuteranopia (green-blind)
#7F732F
Tritanopia (blue-blind)
#856A63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c722b;
/* rgb */ color: rgb(124, 114, 43);
/* oklch */ color: oklch(54.7% 0.092 101.3);
Tailwind
colors: {
  custom: {
    50: '#a49a68',
    500: '#7c722b',
    950: '#000000',
  },
}
SCSS
$custom: #7c722b;
$custom-light: #a49a68;
$custom-dark: #000000;
JSON
{
  "hex": "#7c722b",
  "rgb": {
    "r": 124,
    "g": 114,
    "b": 43
  },
  "hsl": {
    "h": 52.593,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54657,
    "c": 0.09202,
    "h": 101.3
  },
  "luminance": 0.16494
}

Semantic roles & 50–950 ramp

primary
#7C722B
secondary
#5761AC
accent
#61D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7C722B

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

Preview Lab → · Contrast checker → · Palette generator →

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