#798129#798129

#798129 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.9% C 0.111 H 114.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#798129
RGBrgb(121, 129, 41)
HSLhsl(65, 52%, 33%)
HSVhsv(65, 68%, 51%)
CMYKcmyk(6.2%, 0%, 68.2%, 49.4%)
CIE-LABlab(51.75, -15.18, 44.75)
CIE-LCHlch(51.75, 47.26, 108.74°)
OKLaboklab(57.89% -0.0456 0.1009)
OKLCHoklch(57.89% 0.111 114.3)
XYZxyz(16.1361, 19.9258, 5.0934)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798129 #312981
analogous
#815D29 #798129 #4D8129
triadic
#798129 #297981 #812979
tetradic
#798129 #29815D #312981 #81294D
square
#798129 #29815D #312981 #81294D
split-complementary
#798129 #294D81 #5D2981
monochromatic
#22240B #4D531A #798129 #A5AF38 #C0CB5A

Accessibility & contrast

On white

4.21
#798129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#798129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798129
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798129#FFFFFF#000000##000000
##7981291.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1D
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#81796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #798129;
/* rgb */ color: rgb(121, 129, 41);
/* oklch */ color: oklch(57.9% 0.111 114.3);
Tailwind
colors: {
  custom: {
    50: '#a2a568',
    500: '#798129',
    950: '#000000',
  },
}
SCSS
$custom: #798129;
$custom-light: #a2a568;
$custom-dark: #000000;
JSON
{
  "hex": "#798129",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 65.455,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.11078,
    "h": 114.3
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#798129
secondary
#5E56B0
accent
#4DDB5A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798129

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

Preview Lab → · Contrast checker → · Palette generator →

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