#7C8338#7C8338

#7C8338 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.8% C 0.099 H 113.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7C8338
RGBrgb(124, 131, 56)
HSLhsl(66, 40%, 37%)
HSVhsv(66, 57%, 51%)
CMYKcmyk(5.3%, 0%, 57.3%, 48.6%)
CIE-LABlab(52.73, -13.77, 38.95)
CIE-LCHlch(52.73, 41.31, 109.47°)
OKLaboklab(58.78% -0.0402 0.0907)
OKLCHoklch(58.78% 0.099 113.9)
XYZxyz(17.1426, 20.8035, 6.8530)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8338 #3F3883
analogous
#836538 #7C8338 #578338
triadic
#7C8338 #387C83 #83387C
tetradic
#7C8338 #388365 #3F3883 #833857
square
#7C8338 #388365 #3F3883 #833857
split-complementary
#7C8338 #385783 #653883
monochromatic
#2B2D13 #535826 #7C8338 #A5AE4A #BBC372

Accessibility & contrast

On white

4.07
#7C8338 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7C8338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8338
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8338#FFFFFF#000000##000000
##7C83381.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D30
Deuteranopia (green-blind)
#8C7F3C
Tritanopia (blue-blind)
#837C73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c8338;
/* rgb */ color: rgb(124, 131, 56);
/* oklch */ color: oklch(58.8% 0.099 113.9);
Tailwind
colors: {
  custom: {
    50: '#a4a771',
    500: '#7c8338',
    950: '#000000',
  },
}
SCSS
$custom: #7c8338;
$custom-light: #a4a771;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8338",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 65.6,
    "s": 40.107,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58776,
    "c": 0.0992,
    "h": 113.9
  },
  "luminance": 0.20803
}

Semantic roles & 50–950 ramp

primary
#7C8338
secondary
#716BAC
accent
#58D063
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #7C8338

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

Preview Lab → · Contrast checker → · Palette generator →

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