#7C7A43#7C7A43

#7C7A43 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.8% C 0.076 H 106.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7C7A43
RGBrgb(124, 122, 67)
HSLhsl(58, 30%, 37%)
HSVhsv(58, 46%, 49%)
CMYKcmyk(0%, 1.6%, 46%, 51.4%)
CIE-LABlab(50.23, -7.76, 30.27)
CIE-LCHlch(50.23, 31.25, 104.37°)
OKLaboklab(56.82% -0.0219 0.0728)
OKLCHoklch(56.82% 0.076 106.8)
XYZxyz(16.2852, 18.6098, 8.0433)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7A43 #43457C
analogous
#7C5E43 #7C7A43 #617C43
triadic
#7C7A43 #437C7A #7A437C
tetradic
#7C7A43 #437C5E #43457C #7C4361
square
#7C7A43 #437C5E #43457C #7C4361
split-complementary
#7C7A43 #43617C #5E437C
monochromatic
#2D2C18 #54532E #7C7A43 #A4A158 #BAB87F

Accessibility & contrast

On white

4.45
#7C7A43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7C7A43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7A43
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7A43#FFFFFF#000000##000000
##7C7A431.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82763E
Deuteranopia (green-blind)
#837945
Tritanopia (blue-blind)
#83746D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c7a43;
/* rgb */ color: rgb(124, 122, 67);
/* oklch */ color: oklch(56.8% 0.076 106.8);
Tailwind
colors: {
  custom: {
    50: '#a3a078',
    500: '#7c7a43',
    950: '#000000',
  },
}
SCSS
$custom: #7c7a43;
$custom-light: #a3a078;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7a43",
  "rgb": {
    "r": 124,
    "g": 122,
    "b": 67
  },
  "hsl": {
    "h": 57.895,
    "s": 29.843,
    "l": 37.451
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.076,
    "h": 106.8
  },
  "luminance": 0.18609
}

Semantic roles & 50–950 ramp

primary
#7C7A43
secondary
#7677A5
accent
#65C662
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7C7A43

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

Preview Lab → · Contrast checker → · Palette generator →

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