#7C8153#7C8153

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

Color values

HEX#7C8153
RGBrgb(124, 129, 83)
HSLhsl(67, 22%, 42%)
HSVhsv(67, 36%, 51%)
CMYKcmyk(3.9%, 0%, 35.7%, 49.4%)
CIE-LABlab(52.52, -9.69, 24.36)
CIE-LCHlch(52.52, 26.21, 111.70°)
OKLaboklab(58.73% -0.0261 0.0602)
OKLCHoklch(58.73% 0.066 113.5)
XYZxyz(17.7238, 20.6103, 11.2264)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8153 #585381
analogous
#816F53 #7C8153 #658153
triadic
#7C8153 #537C81 #81537C
tetradic
#7C8153 #53816F #585381 #815365
square
#7C8153 #53816F #585381 #815365
split-complementary
#7C8153 #536581 #6F5381
monochromatic
#343723 #585C3B #7C8153 #9DA26F #B6BA94

Accessibility & contrast

On white

4.10
#7C8153 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7C8153 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8153
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8153#FFFFFF#000000##000000
##7C81531.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877D50
Deuteranopia (green-blind)
#877E55
Tritanopia (blue-blind)
#817C75
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c8153;
/* rgb */ color: rgb(124, 129, 83);
/* oklch */ color: oklch(58.7% 0.066 113.5);
Tailwind
colors: {
  custom: {
    50: '#a2a584',
    500: '#7c8153',
    950: '#000000',
  },
}
SCSS
$custom: #7c8153;
$custom-light: #a2a584;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8153",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 83
  },
  "hsl": {
    "h": 66.522,
    "s": 21.698,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58728,
    "c": 0.06562,
    "h": 113.5
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#7C8153
secondary
#8C88A8
accent
#6ABE73
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F0F0B
muted
#7F7F7C

Preview Lab

Preview with #7C8153

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

Preview Lab → · Contrast checker → · Palette generator →

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