#798243#798243

#798243 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.4% C 0.087 H 115.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#798243
RGBrgb(121, 130, 67)
HSLhsl(69, 32%, 39%)
HSVhsv(69, 48%, 51%)
CMYKcmyk(6.9%, 0%, 48.5%, 49%)
CIE-LABlab(52.33, -13.45, 32.78)
CIE-LCHlch(52.33, 35.44, 112.31°)
OKLaboklab(58.43% -0.038 0.0784)
OKLCHoklch(58.43% 0.087 115.9)
XYZxyz(16.8811, 20.4356, 8.3643)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798243 #4C4382
analogous
#826B43 #798243 #598243
triadic
#798243 #437982 #824379
tetradic
#798243 #43826B #4C4382 #824359
square
#798243 #43826B #4C4382 #824359
split-complementary
#798243 #435982 #6B4382
monochromatic
#2E3119 #535A2E #798243 #9EA959 #B5BE81

Accessibility & contrast

On white

4.13
#798243 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#798243 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798243
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798243#FFFFFF#000000##000000
##7982431.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C3E
Deuteranopia (green-blind)
#897D46
Tritanopia (blue-blind)
#7F7C73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798243;
/* rgb */ color: rgb(121, 130, 67);
/* oklch */ color: oklch(58.4% 0.087 115.9);
Tailwind
colors: {
  custom: {
    50: '#a1a679',
    500: '#798243',
    950: '#000000',
  },
}
SCSS
$custom: #798243;
$custom-light: #a1a679;
$custom-dark: #000000;
JSON
{
  "hex": "#798243",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 67
  },
  "hsl": {
    "h": 68.571,
    "s": 31.98,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58433,
    "c": 0.08712,
    "h": 115.9
  },
  "luminance": 0.20435
}

Semantic roles & 50–950 ramp

primary
#798243
secondary
#7F78A9
accent
#60C86F
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #798243

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

Preview Lab → · Contrast checker → · Palette generator →

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