#7C8243#7C8243

#7C8243 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.7% C 0.086 H 113.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7C8243
RGBrgb(124, 130, 67)
HSLhsl(66, 32%, 39%)
HSVhsv(66, 48%, 51%)
CMYKcmyk(4.6%, 0%, 48.5%, 49%)
CIE-LABlab(52.57, -12.16, 33.14)
CIE-LCHlch(52.57, 35.30, 110.15°)
OKLaboklab(58.69% -0.0345 0.0791)
OKLCHoklch(58.69% 0.086 113.5)
XYZxyz(17.3082, 20.6559, 8.3843)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8243 #494382
analogous
#826843 #7C8243 #5C8243
triadic
#7C8243 #437C82 #82437C
tetradic
#7C8243 #438268 #494382 #82435C
square
#7C8243 #438268 #494382 #82435C
split-complementary
#7C8243 #435C82 #684382
monochromatic
#2F3119 #555A2E #7C8243 #A2A959 #B8BE81

Accessibility & contrast

On white

4.09
#7C8243 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7C8243 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8243
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8243#FFFFFF#000000##000000
##7C82431.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3E
Deuteranopia (green-blind)
#8A7E46
Tritanopia (blue-blind)
#837C73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c8243;
/* rgb */ color: rgb(124, 130, 67);
/* oklch */ color: oklch(58.7% 0.086 113.5);
Tailwind
colors: {
  custom: {
    50: '#a3a679',
    500: '#7c8243',
    950: '#000000',
  },
}
SCSS
$custom: #7c8243;
$custom-light: #a3a679;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8243",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 67
  },
  "hsl": {
    "h": 65.714,
    "s": 31.98,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58689,
    "c": 0.08632,
    "h": 113.5
  },
  "luminance": 0.20656
}

Semantic roles & 50–950 ramp

primary
#7C8243
secondary
#7C78A9
accent
#60C86A
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7C8243

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

Preview Lab → · Contrast checker → · Palette generator →

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