#7C7022#7C7022

#7C7022 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.1% C 0.097 H 100.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7C7022
RGBrgb(124, 112, 34)
HSLhsl(52, 57%, 31%)
HSVhsv(52, 73%, 49%)
CMYKcmyk(0%, 9.7%, 72.6%, 51.4%)
CIE-LABlab(46.96, -4.86, 42.96)
CIE-LCHlch(46.96, 43.23, 96.45°)
OKLaboklab(54.11% -0.0175 0.0958)
OKLCHoklch(54.11% 0.097 100.4)
XYZxyz(14.3957, 15.9896, 3.8411)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7022 #222E7C
analogous
#7C4322 #7C7022 #5B7C22
triadic
#7C7022 #227C70 #70227C
tetradic
#7C7022 #227C43 #222E7C #7C225B
square
#7C7022 #227C43 #222E7C #7C225B
split-complementary
#7C7022 #225B7C #43227C
monochromatic
#1C1908 #4C4515 #7C7022 #AC9B2F #CEBC4B

Accessibility & contrast

On white

5.00
#7C7022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7C7022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7022
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7022#FFFFFF#000000##FFFFFF
##7C70221.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c7022;
/* rgb */ color: rgb(124, 112, 34);
/* oklch */ color: oklch(54.1% 0.097 100.4);
Tailwind
colors: {
  custom: {
    50: '#a59862',
    500: '#7c7022',
    950: '#000000',
  },
}
SCSS
$custom: #7c7022;
$custom-light: #a59862;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7022",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 52,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54111,
    "c": 0.09741,
    "h": 100.4
  },
  "luminance": 0.15989
}

Semantic roles & 50–950 ramp

primary
#7C7022
secondary
#4B58AF
accent
#5CE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7C7022

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

Preview Lab → · Contrast checker → · Palette generator →

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