#7B8047#7B8047

#7B8047 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.2% C 0.079 H 113.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7B8047
RGBrgb(123, 128, 71)
HSLhsl(65, 29%, 39%)
HSVhsv(65, 45%, 50%)
CMYKcmyk(3.9%, 0%, 44.5%, 49.8%)
CIE-LABlab(51.96, -11.06, 30.22)
CIE-LCHlch(51.96, 32.18, 110.10°)
OKLaboklab(58.19% -0.0309 0.073)
OKLCHoklch(58.19% 0.079 113)
XYZxyz(17.0251, 20.1045, 8.9437)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8047 #4C4780
analogous
#806947 #7B8047 #5F8047
triadic
#7B8047 #477B80 #80477B
tetradic
#7B8047 #478069 #4C4780 #80475F
square
#7B8047 #478069 #4C4780 #80475F
split-complementary
#7B8047 #475F80 #694780
monochromatic
#2F311B #555931 #7B8047 #A0A65E #B7BC86

Accessibility & contrast

On white

4.18
#7B8047 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7B8047 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8047
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8047#FFFFFF#000000##000000
##7B80471.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B42
Deuteranopia (green-blind)
#877D4A
Tritanopia (blue-blind)
#817A72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b8047;
/* rgb */ color: rgb(123, 128, 71);
/* oklch */ color: oklch(58.2% 0.079 113.0);
Tailwind
colors: {
  custom: {
    50: '#a2a47b',
    500: '#7b8047',
    950: '#000000',
  },
}
SCSS
$custom: #7b8047;
$custom-light: #a2a47b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8047",
  "rgb": {
    "r": 123,
    "g": 128,
    "b": 71
  },
  "hsl": {
    "h": 65.263,
    "s": 28.643,
    "l": 39.02
  },
  "oklch": {
    "l": 0.58195,
    "c": 0.07925,
    "h": 113
  },
  "luminance": 0.20104
}

Semantic roles & 50–950 ramp

primary
#7B8047
secondary
#7F7BA7
accent
#63C56B
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7B8047

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

Preview Lab → · Contrast checker → · Palette generator →

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