#798529#798529

#798529 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 58.8% C 0.116 H 116.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#798529
RGBrgb(121, 133, 41)
HSLhsl(68, 53%, 34%)
HSVhsv(68, 69%, 52%)
CMYKcmyk(9%, 0%, 69.2%, 47.8%)
CIE-LABlab(52.95, -17.30, 45.98)
CIE-LCHlch(52.95, 49.13, 110.62°)
OKLaboklab(58.85% -0.0516 0.1035)
OKLCHoklch(58.85% 0.116 116.5)
XYZxyz(16.6733, 21.0003, 5.2725)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798529 #352985
analogous
#856329 #798529 #4B8529
triadic
#798529 #297985 #852979
tetradic
#798529 #298563 #352985 #85294B
square
#798529 #298563 #352985 #85294B
split-complementary
#798529 #294B85 #632985
monochromatic
#24270C #4E561B #798529 #A4B437 #BECD5C

Accessibility & contrast

On white

4.04
#798529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#798529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798529
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798529#FFFFFF#000000##000000
##7985291.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#817D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798529;
/* rgb */ color: rgb(121, 133, 41);
/* oklch */ color: oklch(58.8% 0.116 116.5);
Tailwind
colors: {
  custom: {
    50: '#a2a868',
    500: '#798529',
    950: '#000000',
  },
}
SCSS
$custom: #798529;
$custom-light: #a2a868;
$custom-dark: #000000;
JSON
{
  "hex": "#798529",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 67.826,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58845,
    "c": 0.11566,
    "h": 116.5
  },
  "luminance": 0.21
}

Semantic roles & 50–950 ramp

primary
#798529
secondary
#6358B2
accent
#4CDC5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798529

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

Preview Lab → · Contrast checker → · Palette generator →

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