#7C8125#7C8125

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

Color values

HEX#7C8125
RGBrgb(124, 129, 37)
HSLhsl(63, 55%, 33%)
HSVhsv(63, 71%, 51%)
CMYKcmyk(3.9%, 0%, 71.3%, 49.4%)
CIE-LABlab(51.97, -14.08, 46.72)
CIE-LCHlch(51.97, 48.79, 106.77°)
OKLaboklab(58.11% -0.0432 0.1043)
OKLCHoklch(58.11% 0.113 112.5)
XYZxyz(16.4969, 20.1195, 4.7643)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8125 #2A2581
analogous
#815825 #7C8125 #4E8125
triadic
#7C8125 #257C81 #81257C
tetradic
#7C8125 #258158 #2A2581 #81254E
square
#7C8125 #258158 #2A2581 #81254E
split-complementary
#7C8125 #254E81 #582581
monochromatic
#21220A #4E5117 #7C8125 #AAB133 #C7CE53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8125#FFFFFF#000000##000000
##7C81251.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)
#8B7B16
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#85796F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c8125;
/* rgb */ color: rgb(124, 129, 37);
/* oklch */ color: oklch(58.1% 0.113 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a566',
    500: '#7c8125',
    950: '#000000',
  },
}
SCSS
$custom: #7c8125;
$custom-light: #a5a566;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8125",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 63.261,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58113,
    "c": 0.11288,
    "h": 112.5
  },
  "luminance": 0.20119
}

Semantic roles & 50–950 ramp

primary
#7C8125
secondary
#5550B2
accent
#49DF51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C8125

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

Preview Lab → · Contrast checker → · Palette generator →

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