#7B8113#7B8113

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

Color values

HEX#7B8113
RGBrgb(123, 129, 19)
HSLhsl(63, 74%, 29%)
HSVhsv(63, 85%, 51%)
CMYKcmyk(4.7%, 0%, 85.3%, 49.4%)
CIE-LABlab(51.79, -15.34, 52.58)
CIE-LCHlch(51.79, 54.77, 106.26°)
OKLaboklab(57.92% -0.0482 0.1134)
OKLCHoklch(57.92% 0.123 113)
XYZxyz(16.1367, 19.9589, 3.6184)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8113 #191381
analogous
#815013 #7B8113 #448113
triadic
#7B8113 #137B81 #81137B
tetradic
#7B8113 #138150 #191381 #811344
square
#7B8113 #138150 #191381 #811344
split-complementary
#7B8113 #134481 #501381
monochromatic
#191B04 #484C0B #7B8113 #AEB61B #D7E02E

Accessibility & contrast

On white

4.21
#7B8113 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7B8113 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8113
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8113#FFFFFF#000000##000000
##7B81131.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8B7D1F
Tritanopia (blue-blind)
#84796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b8113;
/* rgb */ color: rgb(123, 129, 19);
/* oklch */ color: oklch(57.9% 0.123 113.0);
Tailwind
colors: {
  custom: {
    50: '#a5a55e',
    500: '#7b8113',
    950: '#000000',
  },
}
SCSS
$custom: #7b8113;
$custom-light: #a5a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8113",
  "rgb": {
    "r": 123,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 63.273,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57916,
    "c": 0.12325,
    "h": 113
  },
  "luminance": 0.19958
}

Semantic roles & 50–950 ramp

primary
#7B8113
secondary
#403AB6
accent
#37F141
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B8113

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

Preview Lab → · Contrast checker → · Palette generator →

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