#7A7C13#7A7C13

#7A7C13 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.118 H 110.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7A7C13
RGBrgb(122, 124, 19)
HSLhsl(61, 73%, 28%)
HSVhsv(61, 85%, 49%)
CMYKcmyk(1.6%, 0%, 84.7%, 51.4%)
CIE-LABlab(50.22, -13.12, 51.20)
CIE-LCHlch(50.22, 52.85, 104.37°)
OKLaboklab(56.63% -0.042 0.1105)
OKLCHoklch(56.63% 0.118 110.8)
XYZxyz(15.3518, 18.6003, 3.3975)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7C13 #15137C
analogous
#7C4913 #7A7C13 #457C13
triadic
#7A7C13 #137A7C #7C137A
tetradic
#7A7C13 #137C49 #15137C #7C1345
square
#7A7C13 #137C49 #15137C #7C1345
split-complementary
#7A7C13 #13457C #49137C
monochromatic
#1A1B04 #46470B #7A7C13 #AEB11B #DBDF2B

Accessibility & contrast

On white

4.45
#7A7C13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7A7C13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7C13
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7C13#FFFFFF#000000##000000
##7A7C131.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#87791E
Tritanopia (blue-blind)
#837469
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a7c13;
/* rgb */ color: rgb(122, 124, 19);
/* oklch */ color: oklch(56.6% 0.118 110.8);
Tailwind
colors: {
  custom: {
    50: '#a4a15d',
    500: '#7a7c13',
    950: '#000000',
  },
}
SCSS
$custom: #7a7c13;
$custom-light: #a4a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7c13",
  "rgb": {
    "r": 122,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 61.143,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56634,
    "c": 0.11822,
    "h": 110.8
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#7A7C13
secondary
#3B39B2
accent
#38F03B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7C13

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

Preview Lab → · Contrast checker → · Palette generator →

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