#797630#797630

#797630 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.092 H 106.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#797630
RGBrgb(121, 118, 48)
HSLhsl(58, 43%, 33%)
HSVhsv(58, 60%, 47%)
CMYKcmyk(0%, 2.5%, 60.3%, 52.5%)
CIE-LABlab(48.56, -8.67, 38.11)
CIE-LCHlch(48.56, 39.08, 102.82°)
OKLaboklab(55.35% -0.0265 0.0879)
OKLCHoklch(55.35% 0.092 106.8)
XYZxyz(14.8976, 17.2357, 5.3378)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797630 #303379
analogous
#795130 #797630 #577930
triadic
#797630 #307976 #763079
tetradic
#797630 #307951 #303379 #793057
square
#797630 #307951 #303379 #793057
split-complementary
#797630 #305779 #513079
monochromatic
#21210D #4D4B1F #797630 #A5A141 #C1BD62

Accessibility & contrast

On white

4.72
#797630 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#797630 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797630
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797630#FFFFFF#000000##FFFFFF
##7976301.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7228
Deuteranopia (green-blind)
#817534
Tritanopia (blue-blind)
#816F67
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797630;
/* rgb */ color: rgb(121, 118, 48);
/* oklch */ color: oklch(55.4% 0.092 106.8);
Tailwind
colors: {
  custom: {
    50: '#a29d6b',
    500: '#797630',
    950: '#000000',
  },
}
SCSS
$custom: #797630;
$custom-light: #a29d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#797630",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 48
  },
  "hsl": {
    "h": 57.534,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55352,
    "c": 0.09183,
    "h": 106.8
  },
  "luminance": 0.17235
}

Semantic roles & 50–950 ramp

primary
#797630
secondary
#5D60A8
accent
#5AD355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797630

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

Preview Lab → · Contrast checker → · Palette generator →

#797630 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva