#7C883B#7C883B

#7C883B is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.0% C 0.103 H 117.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7C883B
RGBrgb(124, 136, 59)
HSLhsl(69, 39%, 38%)
HSVhsv(69, 57%, 53%)
CMYKcmyk(8.8%, 0%, 56.6%, 46.7%)
CIE-LABlab(54.25, -16.16, 39.21)
CIE-LCHlch(54.25, 42.41, 112.41°)
OKLaboklab(60% -0.0466 0.0916)
OKLCHoklch(60% 0.103 117)
XYZxyz(17.9060, 22.2094, 7.4804)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C883B #473B88
analogous
#886D3B #7C883B #55883B
triadic
#7C883B #3B7C88 #883B7C
tetradic
#7C883B #3B886D #473B88 #883B55
square
#7C883B #3B886D #473B88 #883B55
split-complementary
#7C883B #3B5588 #6D3B88
monochromatic
#2E3316 #555D28 #7C883B #A3B24E #B9C579

Accessibility & contrast

On white

3.86
#7C883B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7C883B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C883B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C883B#FFFFFF#000000##000000
##7C883B1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908133
Deuteranopia (green-blind)
#8F8240
Tritanopia (blue-blind)
#838177
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7c883b;
/* rgb */ color: rgb(124, 136, 59);
/* oklch */ color: oklch(60.0% 0.103 117.0);
Tailwind
colors: {
  custom: {
    50: '#a4aa74',
    500: '#7c883b',
    950: '#000000',
  },
}
SCSS
$custom: #7c883b;
$custom-light: #a4aa74;
$custom-dark: #000000;
JSON
{
  "hex": "#7c883b",
  "rgb": {
    "r": 124,
    "g": 136,
    "b": 59
  },
  "hsl": {
    "h": 69.351,
    "s": 39.487,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59999,
    "c": 0.10278,
    "h": 117
  },
  "luminance": 0.22209
}

Semantic roles & 50–950 ramp

primary
#7C883B
secondary
#7A71AE
accent
#58CF6B
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C883B

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

Preview Lab → · Contrast checker → · Palette generator →

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