#7A8618#7A8618

#7A8618 is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.1% C 0.127 H 116.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7A8618
RGBrgb(122, 134, 24)
HSLhsl(67, 70%, 31%)
HSVhsv(67, 82%, 53%)
CMYKcmyk(9%, 0%, 82.1%, 47.5%)
CIE-LABlab(53.23, -18.25, 52.40)
CIE-LCHlch(53.23, 55.49, 109.20°)
OKLaboklab(59.05% -0.0558 0.114)
OKLCHoklch(59.05% 0.127 116.1)
XYZxyz(16.7165, 21.2540, 4.0858)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8618 #241886
analogous
#865B18 #7A8618 #438618
triadic
#7A8618 #187A86 #86187A
tetradic
#7A8618 #18865B #241886 #861843
square
#7A8618 #18865B #241886 #861843
split-complementary
#7A8618 #184386 #5B1886
monochromatic
#1B1E05 #4B520F #7A8618 #A9BA21 #CBDC3C

Accessibility & contrast

On white

4.00
#7A8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7A8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8618
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8618#FFFFFF#000000##000000
##7A86181.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#827E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a8618;
/* rgb */ color: rgb(122, 134, 24);
/* oklch */ color: oklch(59.1% 0.127 116.1);
Tailwind
colors: {
  custom: {
    50: '#a4a960',
    500: '#7a8618',
    950: '#000000',
  },
}
SCSS
$custom: #7a8618;
$custom-light: #a4a960;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8618",
  "rgb": {
    "r": 122,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 66.545,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.12693,
    "h": 116.1
  },
  "luminance": 0.21254
}

Semantic roles & 50–950 ramp

primary
#7A8618
secondary
#4D40BA
accent
#3BEC4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7A8618

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

Preview Lab → · Contrast checker → · Palette generator →

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