#7C8335#7C8335

#7C8335 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.7% C 0.102 H 113.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7C8335
RGBrgb(124, 131, 53)
HSLhsl(65, 42%, 36%)
HSVhsv(65, 60%, 51%)
CMYKcmyk(5.3%, 0%, 59.5%, 48.6%)
CIE-LABlab(52.70, -14.02, 40.37)
CIE-LCHlch(52.70, 42.74, 109.15°)
OKLaboklab(58.74% -0.0412 0.0934)
OKLCHoklch(58.74% 0.102 113.8)
XYZxyz(17.0715, 20.7750, 6.4781)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8335 #3C3583
analogous
#836335 #7C8335 #558335
triadic
#7C8335 #357C83 #83357C
tetradic
#7C8335 #358363 #3C3583 #833555
square
#7C8335 #358363 #3C3583 #833555
split-complementary
#7C8335 #355583 #633583
monochromatic
#2A2C12 #535723 #7C8335 #A5AF47 #BDC46E

Accessibility & contrast

On white

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

On black

5.15
#7C8335 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8335
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8335#FFFFFF#000000##000000
##7C83351.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2D
Deuteranopia (green-blind)
#8C7F3A
Tritanopia (blue-blind)
#847C72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c8335;
/* rgb */ color: rgb(124, 131, 53);
/* oklch */ color: oklch(58.7% 0.102 113.8);
Tailwind
colors: {
  custom: {
    50: '#a4a66f',
    500: '#7c8335',
    950: '#000000',
  },
}
SCSS
$custom: #7c8335;
$custom-light: #a4a66f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8335",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 65.385,
    "s": 42.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58741,
    "c": 0.10208,
    "h": 113.8
  },
  "luminance": 0.20775
}

Semantic roles & 50–950 ramp

primary
#7C8335
secondary
#6D67AD
accent
#56D261
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7C8335

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

Preview Lab → · Contrast checker → · Palette generator →

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