#7A8331#7A8331

#7A8331 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.5% C 0.106 H 115.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7A8331
RGBrgb(122, 131, 49)
HSLhsl(67, 46%, 35%)
HSVhsv(67, 63%, 51%)
CMYKcmyk(6.9%, 0%, 62.6%, 48.6%)
CIE-LABlab(52.50, -15.23, 42.00)
CIE-LCHlch(52.50, 44.67, 109.93°)
OKLaboklab(58.53% -0.045 0.0963)
OKLCHoklch(58.53% 0.106 115)
XYZxyz(16.6971, 20.5922, 6.0002)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8331 #3A3183
analogous
#836331 #7A8331 #518331
triadic
#7A8331 #317A83 #83317A
tetradic
#7A8331 #318363 #3A3183 #833151
square
#7A8331 #318363 #3A3183 #833151
split-complementary
#7A8331 #315183 #633183
monochromatic
#272A10 #515620 #7A8331 #A3B042 #BCC668

Accessibility & contrast

On white

4.10
#7A8331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7A8331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8331
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8331#FFFFFF#000000##000000
##7A83311.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D27
Deuteranopia (green-blind)
#8B7E36
Tritanopia (blue-blind)
#827C72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a8331;
/* rgb */ color: rgb(122, 131, 49);
/* oklch */ color: oklch(58.5% 0.106 115.0);
Tailwind
colors: {
  custom: {
    50: '#a3a76d',
    500: '#7a8331',
    950: '#000000',
  },
}
SCSS
$custom: #7a8331;
$custom-light: #a3a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8331",
  "rgb": {
    "r": 122,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 66.585,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58526,
    "c": 0.1063,
    "h": 115
  },
  "luminance": 0.20592
}

Semantic roles & 50–950 ramp

primary
#7A8331
secondary
#6A62AE
accent
#53D561
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7A8331

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

Preview Lab → · Contrast checker → · Palette generator →

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