#7C843C#7C843C

#7C843C is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.1% C 0.096 H 114.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7C843C
RGBrgb(124, 132, 60)
HSLhsl(67, 38%, 38%)
HSVhsv(67, 55%, 52%)
CMYKcmyk(6.1%, 0%, 54.5%, 48.2%)
CIE-LABlab(53.07, -13.94, 37.35)
CIE-LCHlch(53.07, 39.87, 110.47°)
OKLaboklab(59.06% -0.0402 0.0877)
OKLCHoklch(59.06% 0.096 114.7)
XYZxyz(17.3794, 21.1141, 7.4340)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C843C #443C84
analogous
#84683C #7C843C #58843C
triadic
#7C843C #3C7C84 #843C7C
tetradic
#7C843C #3C8468 #443C84 #843C58
square
#7C843C #3C8468 #443C84 #843C58
split-complementary
#7C843C #3C5884 #683C84
monochromatic
#2D3016 #545A29 #7C843C #A4AE4F #BAC279

Accessibility & contrast

On white

4.02
#7C843C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7C843C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C843C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C843C#FFFFFF#000000##000000
##7C843C1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E35
Deuteranopia (green-blind)
#8C7F40
Tritanopia (blue-blind)
#837D74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c843c;
/* rgb */ color: rgb(124, 132, 60);
/* oklch */ color: oklch(59.1% 0.096 114.7);
Tailwind
colors: {
  custom: {
    50: '#a4a774',
    500: '#7c843c',
    950: '#000000',
  },
}
SCSS
$custom: #7c843c;
$custom-light: #a4a774;
$custom-dark: #000000;
JSON
{
  "hex": "#7c843c",
  "rgb": {
    "r": 124,
    "g": 132,
    "b": 60
  },
  "hsl": {
    "h": 66.667,
    "s": 37.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59063,
    "c": 0.09649,
    "h": 114.7
  },
  "luminance": 0.21114
}

Semantic roles & 50–950 ramp

primary
#7C843C
secondary
#7770AC
accent
#5ACD67
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #7C843C

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

Preview Lab → · Contrast checker → · Palette generator →

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