#7C8239#7C8239

#7C8239 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.6% C 0.097 H 113.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7C8239
RGBrgb(124, 130, 57)
HSLhsl(65, 39%, 37%)
HSVhsv(65, 56%, 51%)
CMYKcmyk(4.6%, 0%, 56.2%, 49%)
CIE-LABlab(52.45, -13.14, 38.13)
CIE-LCHlch(52.45, 40.33, 109.01°)
OKLaboklab(58.55% -0.0383 0.0891)
OKLCHoklch(58.55% 0.097 113.3)
XYZxyz(17.0337, 20.5461, 6.9386)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8239 #3F3982
analogous
#826439 #7C8239 #588239
triadic
#7C8239 #397C82 #82397C
tetradic
#7C8239 #398264 #3F3982 #823958
square
#7C8239 #398264 #3F3982 #823958
split-complementary
#7C8239 #395882 #643982
monochromatic
#2B2D14 #535726 #7C8239 #A5AD4C #BBC274

Accessibility & contrast

On white

4.11
#7C8239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7C8239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8239
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8239#FFFFFF#000000##000000
##7C82391.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C32
Deuteranopia (green-blind)
#8B7E3D
Tritanopia (blue-blind)
#837B72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c8239;
/* rgb */ color: rgb(124, 130, 57);
/* oklch */ color: oklch(58.6% 0.097 113.3);
Tailwind
colors: {
  custom: {
    50: '#a4a672',
    500: '#7c8239',
    950: '#000000',
  },
}
SCSS
$custom: #7c8239;
$custom-light: #a4a672;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8239",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 64.932,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58552,
    "c": 0.09694,
    "h": 113.3
  },
  "luminance": 0.20546
}

Semantic roles & 50–950 ramp

primary
#7C8239
secondary
#716CAB
accent
#59CF63
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #7C8239

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

Preview Lab → · Contrast checker → · Palette generator →

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