#7C8B2D#7C8B2D

#7C8B2D is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.6% C 0.119 H 117.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7C8B2D
RGBrgb(124, 139, 45)
HSLhsl(70, 51%, 36%)
HSVhsv(70, 68%, 55%)
CMYKcmyk(10.8%, 0%, 67.6%, 45.5%)
CIE-LABlab(55.01, -18.85, 46.49)
CIE-LCHlch(55.01, 50.17, 112.07°)
OKLaboklab(60.57% -0.0556 0.1052)
OKLCHoklch(60.57% 0.119 117.9)
XYZxyz(18.0188, 22.9400, 5.9607)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8B2D #3C2D8B
analogous
#8B6B2D #7C8B2D #4D8B2D
triadic
#7C8B2D #2D7C8B #8B2D7C
tetradic
#7C8B2D #2D8B6B #3C2D8B #8B2D4D
square
#7C8B2D #2D8B6B #3C2D8B #8B2D4D
split-complementary
#7C8B2D #2D4D8B #6B2D8B
monochromatic
#2A2F0F #535D1E #7C8B2D #A5B93C #BDCD65

Accessibility & contrast

On white

3.76
#7C8B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7C8B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8B2D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8B2D#FFFFFF#000000##000000
##7C8B2D1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948320
Deuteranopia (green-blind)
#938434
Tritanopia (blue-blind)
#838378
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8b2d;
/* rgb */ color: rgb(124, 139, 45);
/* oklch */ color: oklch(60.6% 0.119 117.9);
Tailwind
colors: {
  custom: {
    50: '#a4ac6b',
    500: '#7c8b2d',
    950: '#000000',
  },
}
SCSS
$custom: #7c8b2d;
$custom-light: #a4ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8b2d",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 69.574,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60569,
    "c": 0.11898,
    "h": 117.9
  },
  "luminance": 0.2294
}

Semantic roles & 50–950 ramp

primary
#7C8B2D
secondary
#6D60B4
accent
#4DDB64
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7C8B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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