#7C8115#7C8115

#7C8115 is a mid, vivid yellow. Relative luminance 0.200; OKLCH L 58.0% C 0.122 H 112.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7C8115
RGBrgb(124, 129, 21)
HSLhsl(63, 72%, 29%)
HSVhsv(63, 84%, 51%)
CMYKcmyk(3.9%, 0%, 83.7%, 49.4%)
CIE-LABlab(51.88, -14.81, 52.15)
CIE-LCHlch(51.88, 54.21, 105.86°)
OKLaboklab(58.01% -0.0467 0.1128)
OKLCHoklch(58.01% 0.122 112.5)
XYZxyz(16.2984, 20.0401, 3.7189)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8115 #1A1581
analogous
#815015 #7C8115 #468115
triadic
#7C8115 #157C81 #81157C
tetradic
#7C8115 #158150 #1A1581 #811546
square
#7C8115 #158150 #1A1581 #811546
split-complementary
#7C8115 #154681 #501581
monochromatic
#191A04 #494C0C #7C8115 #AFB61E #D6DE33

Accessibility & contrast

On white

4.19
#7C8115 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7C8115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8115
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8115#FFFFFF#000000##000000
##7C81151.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8C7D20
Tritanopia (blue-blind)
#85796E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c8115;
/* rgb */ color: rgb(124, 129, 21);
/* oklch */ color: oklch(58.0% 0.122 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a55e',
    500: '#7c8115',
    950: '#000000',
  },
}
SCSS
$custom: #7c8115;
$custom-light: #a5a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8115",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 62.778,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.58013,
    "c": 0.1221,
    "h": 112.5
  },
  "luminance": 0.2004
}

Semantic roles & 50–950 ramp

primary
#7C8115
secondary
#423CB6
accent
#39EF41
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C8115

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

Preview Lab → · Contrast checker → · Palette generator →

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