#7B8114#7B8114

#7B8114 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#7B8114
RGBrgb(123, 129, 20)
HSLhsl(63, 73%, 29%)
HSVhsv(63, 84%, 51%)
CMYKcmyk(4.7%, 0%, 84.5%, 49.4%)
CIE-LABlab(51.79, -15.31, 52.32)
CIE-LCHlch(51.79, 54.51, 106.31°)
OKLaboklab(57.92% -0.048 0.1131)
OKLCHoklch(57.92% 0.123 113)
XYZxyz(16.1455, 19.9624, 3.6643)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8114 #1A1481
analogous
#815114 #7B8114 #458114
triadic
#7B8114 #147B81 #81147B
tetradic
#7B8114 #148151 #1A1481 #811445
square
#7B8114 #148151 #1A1481 #811445
split-complementary
#7B8114 #144581 #511481
monochromatic
#191A04 #484C0C #7B8114 #AEB61C #D5DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B8114#FFFFFF#000000##000000
##7B81141.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: #7b8114;
/* rgb */ color: rgb(123, 129, 20);
/* oklch */ color: oklch(57.9% 0.123 113.0);
Tailwind
colors: {
  custom: {
    50: '#a5a55e',
    500: '#7b8114',
    950: '#000000',
  },
}
SCSS
$custom: #7b8114;
$custom-light: #a5a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8114",
  "rgb": {
    "r": 123,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 63.303,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5792,
    "c": 0.12283,
    "h": 113
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

primary
#7B8114
secondary
#423BB6
accent
#38F042
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B8114

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

Preview Lab → · Contrast checker → · Palette generator →

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