#797430#797430

#797430 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.090 H 105.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#797430
RGBrgb(121, 116, 48)
HSLhsl(56, 43%, 33%)
HSVhsv(56, 60%, 47%)
CMYKcmyk(0%, 4.1%, 60.3%, 52.5%)
CIE-LABlab(47.97, -7.55, 37.45)
CIE-LCHlch(47.97, 38.20, 101.40°)
OKLaboklab(54.88% -0.0233 0.0865)
OKLCHoklch(54.88% 0.09 105.1)
XYZxyz(14.6645, 16.7696, 5.2601)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797430 #303579
analogous
#794F30 #797430 #597930
triadic
#797430 #307974 #743079
tetradic
#797430 #30794F #303579 #793059
square
#797430 #30794F #303579 #793059
split-complementary
#797430 #305979 #4F3079
monochromatic
#21200D #4D4A1F #797430 #A59E41 #C1BA62

Accessibility & contrast

On white

4.82
#797430 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#797430 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797430
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797430#FFFFFF#000000##FFFFFF
##7974301.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7029
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#816D65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797430;
/* rgb */ color: rgb(121, 116, 48);
/* oklch */ color: oklch(54.9% 0.090 105.1);
Tailwind
colors: {
  custom: {
    50: '#a29b6b',
    500: '#797430',
    950: '#000000',
  },
}
SCSS
$custom: #797430;
$custom-light: #a29b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#797430",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 48
  },
  "hsl": {
    "h": 55.89,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54884,
    "c": 0.08961,
    "h": 105.1
  },
  "luminance": 0.16769
}

Semantic roles & 50–950 ramp

primary
#797430
secondary
#5D62A8
accent
#5DD355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797430

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

Preview Lab → · Contrast checker → · Palette generator →

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