#7A8A1C#7A8A1C

#7A8A1C is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.0% C 0.130 H 118.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7A8A1C
RGBrgb(122, 138, 28)
HSLhsl(69, 66%, 33%)
HSVhsv(69, 80%, 54%)
CMYKcmyk(11.6%, 0%, 79.7%, 45.9%)
CIE-LABlab(54.45, -20.16, 52.27)
CIE-LCHlch(54.45, 56.02, 111.09°)
OKLaboklab(60.04% -0.0607 0.1145)
OKLCHoklch(60.04% 0.13 118)
XYZxyz(17.3245, 22.3985, 4.5091)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A1C #2C1C8A
analogous
#8A631C #7A8A1C #438A1C
triadic
#7A8A1C #1C7A8A #8A1C7A
tetradic
#7A8A1C #1C8A63 #2C1C8A #8A1C43
square
#7A8A1C #1C8A63 #2C1C8A #8A1C43
split-complementary
#7A8A1C #1C438A #631C8A
monochromatic
#202407 #4D5712 #7A8A1C #A7BD26 #C4DA47

Accessibility & contrast

On white

3.83
#7A8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7A8A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A1C
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A1C#FFFFFF#000000##000000
##7A8A1C1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#828276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a8a1c;
/* rgb */ color: rgb(122, 138, 28);
/* oklch */ color: oklch(60.0% 0.130 118.0);
Tailwind
colors: {
  custom: {
    50: '#a4ac63',
    500: '#7a8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a1c;
$custom-light: #a4ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a1c",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 68.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60042,
    "c": 0.12957,
    "h": 118
  },
  "luminance": 0.22398
}

Semantic roles & 50–950 ramp

primary
#7A8A1C
secondary
#5746BB
accent
#3FE957
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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