#7C8113#7C8113

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

Color values

HEX#7C8113
RGBrgb(124, 129, 19)
HSLhsl(63, 74%, 29%)
HSVhsv(63, 85%, 51%)
CMYKcmyk(3.9%, 0%, 85.3%, 49.4%)
CIE-LABlab(51.87, -14.88, 52.68)
CIE-LCHlch(51.87, 54.75, 105.77°)
OKLaboklab(58% -0.047 0.1136)
OKLCHoklch(58% 0.123 112.5)
XYZxyz(16.2806, 20.0330, 3.6251)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8113 #181381
analogous
#814F13 #7C8113 #458113
triadic
#7C8113 #137C81 #81137C
tetradic
#7C8113 #13814F #181381 #811345
square
#7C8113 #13814F #181381 #811345
split-complementary
#7C8113 #134581 #4F1381
monochromatic
#1A1B04 #494C0B #7C8113 #AFB61B #D8E02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8113#FFFFFF#000000##000000
##7C81131.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)
#8C7A00
Deuteranopia (green-blind)
#8C7D1F
Tritanopia (blue-blind)
#85786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c8113;
/* rgb */ color: rgb(124, 129, 19);
/* oklch */ color: oklch(58.0% 0.123 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a55e',
    500: '#7c8113',
    950: '#000000',
  },
}
SCSS
$custom: #7c8113;
$custom-light: #a5a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8113",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 62.727,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.58004,
    "c": 0.12295,
    "h": 112.5
  },
  "luminance": 0.20033
}

Semantic roles & 50–950 ramp

primary
#7C8113
secondary
#3F3AB6
accent
#37F13F
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C8113

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

Preview Lab → · Contrast checker → · Palette generator →

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