#7A8114#7A8114

#7A8114 is a mid, vivid yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.123 H 113.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7A8114
RGBrgb(122, 129, 20)
HSLhsl(64, 73%, 29%)
HSVhsv(64, 84%, 51%)
CMYKcmyk(5.4%, 0%, 84.5%, 49.4%)
CIE-LABlab(51.71, -15.76, 52.21)
CIE-LCHlch(51.71, 54.54, 106.80°)
OKLaboklab(57.83% -0.0492 0.1129)
OKLCHoklch(57.83% 0.123 113.6)
XYZxyz(16.0031, 19.8889, 3.6576)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8114 #1B1481
analogous
#815214 #7A8114 #448114
triadic
#7A8114 #147A81 #81147A
tetradic
#7A8114 #148152 #1B1481 #811444
square
#7A8114 #148152 #1B1481 #811444
split-complementary
#7A8114 #144481 #521481
monochromatic
#191A04 #484C0C #7A8114 #ACB61C #D4DF30

Accessibility & contrast

On white

4.22
#7A8114 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7A8114 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8114
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8114#FFFFFF#000000##000000
##7A81141.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a8114;
/* rgb */ color: rgb(122, 129, 20);
/* oklch */ color: oklch(57.8% 0.123 113.6);
Tailwind
colors: {
  custom: {
    50: '#a4a55e',
    500: '#7a8114',
    950: '#000000',
  },
}
SCSS
$custom: #7a8114;
$custom-light: #a4a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8114",
  "rgb": {
    "r": 122,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 63.853,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57833,
    "c": 0.12315,
    "h": 113.6
  },
  "luminance": 0.19889
}

Semantic roles & 50–950 ramp

primary
#7A8114
secondary
#433BB6
accent
#38F044
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8114

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

Preview Lab → · Contrast checker → · Palette generator →

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