#798149#798149

#798149 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.079 H 115.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#798149
RGBrgb(121, 129, 73)
HSLhsl(69, 28%, 40%)
HSVhsv(69, 43%, 51%)
CMYKcmyk(6.2%, 0%, 43.4%, 49.4%)
CIE-LABlab(52.12, -12.23, 29.31)
CIE-LCHlch(52.12, 31.75, 112.65°)
OKLaboklab(58.29% -0.034 0.0711)
OKLCHoklch(58.29% 0.079 115.5)
XYZxyz(16.9381, 20.2467, 9.3177)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798149 #514981
analogous
#816D49 #798149 #5D8149
triadic
#798149 #497981 #814979
tetradic
#798149 #49816D #514981 #81495D
square
#798149 #49816D #514981 #81495D
split-complementary
#798149 #495D81 #6D4981
monochromatic
#30331D #545A33 #798149 #9CA661 #B5BC88

Accessibility & contrast

On white

4.16
#798149 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#798149 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798149
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798149#FFFFFF#000000##000000
##7981491.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C45
Deuteranopia (green-blind)
#877D4C
Tritanopia (blue-blind)
#7F7B73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #798149;
/* rgb */ color: rgb(121, 129, 73);
/* oklch */ color: oklch(58.3% 0.079 115.5);
Tailwind
colors: {
  custom: {
    50: '#a1a57d',
    500: '#798149',
    950: '#000000',
  },
}
SCSS
$custom: #798149;
$custom-light: #a1a57d;
$custom-dark: #000000;
JSON
{
  "hex": "#798149",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 73
  },
  "hsl": {
    "h": 68.571,
    "s": 27.723,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58292,
    "c": 0.07875,
    "h": 115.5
  },
  "luminance": 0.20247
}

Semantic roles & 50–950 ramp

primary
#798149
secondary
#847EA8
accent
#64C472
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #798149

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

Preview Lab → · Contrast checker → · Palette generator →

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