#798043#798043

#798043 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.0% C 0.084 H 114.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#798043
RGBrgb(121, 128, 67)
HSLhsl(67, 31%, 38%)
HSVhsv(67, 48%, 50%)
CMYKcmyk(5.5%, 0%, 47.7%, 49.8%)
CIE-LABlab(51.73, -12.37, 32.06)
CIE-LCHlch(51.73, 34.37, 111.10°)
OKLaboklab(57.96% -0.0349 0.0768)
OKLCHoklch(57.96% 0.084 114.4)
XYZxyz(16.6177, 19.9088, 8.2765)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798043 #4A4380
analogous
#806843 #798043 #5A8043
triadic
#798043 #437980 #804379
tetradic
#798043 #438068 #4A4380 #80435A
square
#798043 #438068 #4A4380 #80435A
split-complementary
#798043 #435A80 #684380
monochromatic
#2D3019 #53582E #798043 #9FA858 #B6BD81

Accessibility & contrast

On white

4.22
#798043 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#798043 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798043
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798043#FFFFFF#000000##000000
##7980431.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3E
Deuteranopia (green-blind)
#877C46
Tritanopia (blue-blind)
#7F7A72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #798043;
/* rgb */ color: rgb(121, 128, 67);
/* oklch */ color: oklch(58.0% 0.084 114.4);
Tailwind
colors: {
  custom: {
    50: '#a1a478',
    500: '#798043',
    950: '#000000',
  },
}
SCSS
$custom: #798043;
$custom-light: #a1a478;
$custom-dark: #000000;
JSON
{
  "hex": "#798043",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 67
  },
  "hsl": {
    "h": 66.885,
    "s": 31.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5796,
    "c": 0.08436,
    "h": 114.4
  },
  "luminance": 0.19909
}

Semantic roles & 50–950 ramp

primary
#798043
secondary
#7D77A8
accent
#60C76C
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #798043

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

Preview Lab → · Contrast checker → · Palette generator →

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