#797145#797145

#797145 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.5% C 0.063 H 99.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#797145
RGBrgb(121, 113, 69)
HSLhsl(51, 27%, 37%)
HSVhsv(51, 43%, 47%)
CMYKcmyk(0%, 6.6%, 43%, 52.5%)
CIE-LABlab(47.37, -3.77, 25.52)
CIE-LCHlch(47.37, 25.80, 98.40°)
OKLaboklab(54.5% -0.0101 0.0622)
OKLCHoklch(54.5% 0.063 99.2)
XYZxyz(14.8648, 16.3053, 7.9933)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797145 #454D79
analogous
#795745 #797145 #677945
triadic
#797145 #457971 #714579
tetradic
#797145 #457957 #454D79 #794567
square
#797145 #457957 #454D79 #794567
split-complementary
#797145 #456779 #574579
monochromatic
#2B2819 #524D2F #797145 #A0955B #B7AF81

Accessibility & contrast

On white

4.93
#797145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#797145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797145
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797145#FFFFFF#000000##FFFFFF
##7971451.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F42
Deuteranopia (green-blind)
#7B7247
Tritanopia (blue-blind)
#806B66
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #797145;
/* rgb */ color: rgb(121, 113, 69);
/* oklch */ color: oklch(54.5% 0.063 99.2);
Tailwind
colors: {
  custom: {
    50: '#a19979',
    500: '#797145',
    950: '#000000',
  },
}
SCSS
$custom: #797145;
$custom-light: #a19979;
$custom-dark: #000000;
JSON
{
  "hex": "#797145",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 69
  },
  "hsl": {
    "h": 50.769,
    "s": 27.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54501,
    "c": 0.06305,
    "h": 99.2
  },
  "luminance": 0.16305
}

Semantic roles & 50–950 ramp

primary
#797145
secondary
#777EA3
accent
#73C464
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #797145

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

Preview Lab → · Contrast checker → · Palette generator →

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