#797730#797730

#797730 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.093 H 107.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#797730
RGBrgb(121, 119, 48)
HSLhsl(58, 43%, 33%)
HSVhsv(58, 60%, 47%)
CMYKcmyk(0%, 1.7%, 60.3%, 52.5%)
CIE-LABlab(48.85, -9.23, 38.43)
CIE-LCHlch(48.85, 39.52, 103.50°)
OKLaboklab(55.59% -0.0281 0.0886)
OKLCHoklch(55.59% 0.093 107.6)
XYZxyz(15.0159, 17.4724, 5.3773)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797730 #303279
analogous
#795230 #797730 #567930
triadic
#797730 #307977 #773079
tetradic
#797730 #307952 #303279 #793056
square
#797730 #307952 #303279 #793056
split-complementary
#797730 #305679 #523079
monochromatic
#21210D #4D4C1F #797730 #A5A241 #C1BE62

Accessibility & contrast

On white

4.67
#797730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#797730 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797730
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797730#FFFFFF#000000##FFFFFF
##7977301.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807328
Deuteranopia (green-blind)
#827534
Tritanopia (blue-blind)
#817068
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797730;
/* rgb */ color: rgb(121, 119, 48);
/* oklch */ color: oklch(55.6% 0.093 107.6);
Tailwind
colors: {
  custom: {
    50: '#a29e6b',
    500: '#797730',
    950: '#000000',
  },
}
SCSS
$custom: #797730;
$custom-light: #a29e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#797730",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 48
  },
  "hsl": {
    "h": 58.356,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55586,
    "c": 0.09297,
    "h": 107.6
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#797730
secondary
#5D5FA8
accent
#58D355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797730

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

Preview Lab → · Contrast checker → · Palette generator →

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