#7A8013#7A8013

#7A8013 is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.122 H 113.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7A8013
RGBrgb(122, 128, 19)
HSLhsl(63, 74%, 29%)
HSVhsv(63, 85%, 50%)
CMYKcmyk(4.7%, 0%, 85.2%, 49.8%)
CIE-LABlab(51.41, -15.27, 52.22)
CIE-LCHlch(51.41, 54.41, 106.30°)
OKLaboklab(57.59% -0.0479 0.1127)
OKLCHoklch(57.59% 0.122 113)
XYZxyz(15.8633, 19.6233, 3.5680)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8013 #191380
analogous
#805013 #7A8013 #448013
triadic
#7A8013 #137A80 #80137A
tetradic
#7A8013 #138050 #191380 #801344
square
#7A8013 #138050 #191380 #801344
split-complementary
#7A8013 #134480 #501380
monochromatic
#191B04 #474B0B #7A8013 #ADB51B #D6E02D

Accessibility & contrast

On white

4.26
#7A8013 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7A8013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8013
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8013#FFFFFF#000000##000000
##7A80131.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7C1E
Tritanopia (blue-blind)
#83786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a8013;
/* rgb */ color: rgb(122, 128, 19);
/* oklch */ color: oklch(57.6% 0.122 113.0);
Tailwind
colors: {
  custom: {
    50: '#a4a45d',
    500: '#7a8013',
    950: '#000000',
  },
}
SCSS
$custom: #7a8013;
$custom-light: #a4a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8013",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 63.303,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.12248,
    "h": 113
  },
  "luminance": 0.19623
}

Semantic roles & 50–950 ramp

primary
#7A8013
secondary
#4039B5
accent
#37F141
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8013

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

Preview Lab → · Contrast checker → · Palette generator →

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