#7A7038#7A7038

#7A7038 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.077 H 99.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7A7038
RGBrgb(122, 112, 56)
HSLhsl(51, 37%, 35%)
HSVhsv(51, 54%, 48%)
CMYKcmyk(0%, 8.2%, 54.1%, 52.2%)
CIE-LABlab(46.99, -4.13, 32.22)
CIE-LCHlch(46.99, 32.48, 97.31°)
OKLaboklab(54.16% -0.0126 0.0762)
OKLCHoklch(54.16% 0.077 99.4)
XYZxyz(14.5345, 16.0120, 6.0656)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7038 #38427A
analogous
#7A4F38 #7A7038 #637A38
triadic
#7A7038 #387A70 #70387A
tetradic
#7A7038 #387A4F #38427A #7A3863
square
#7A7038 #387A4F #38427A #7A3863
split-complementary
#7A7038 #38637A #4F387A
monochromatic
#262311 #504925 #7A7038 #A4974B #BDB16F

Accessibility & contrast

On white

5.00
#7A7038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7A7038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7038
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7038#FFFFFF#000000##FFFFFF
##7A70381.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D33
Deuteranopia (green-blind)
#7C713A
Tritanopia (blue-blind)
#826963
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a7038;
/* rgb */ color: rgb(122, 112, 56);
/* oklch */ color: oklch(54.2% 0.077 99.4);
Tailwind
colors: {
  custom: {
    50: '#a29870',
    500: '#7a7038',
    950: '#000000',
  },
}
SCSS
$custom: #7a7038;
$custom-light: #a29870;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7038",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 56
  },
  "hsl": {
    "h": 50.909,
    "s": 37.079,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.07719,
    "h": 99.4
  },
  "luminance": 0.16011
}

Semantic roles & 50–950 ramp

primary
#7A7038
secondary
#6871A6
accent
#6CCD5B
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #7A7038

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

Preview Lab → · Contrast checker → · Palette generator →

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