#797629#797629

#797629 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.098 H 107.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#797629
RGBrgb(121, 118, 41)
HSLhsl(58, 49%, 32%)
HSVhsv(58, 66%, 47%)
CMYKcmyk(0%, 2.5%, 66.1%, 52.5%)
CIE-LABlab(48.49, -9.19, 41.35)
CIE-LCHlch(48.49, 42.36, 102.53°)
OKLaboklab(55.28% -0.0288 0.0938)
OKLCHoklch(55.28% 0.098 107.1)
XYZxyz(14.7643, 17.1824, 4.6362)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797629 #292C79
analogous
#794E29 #797629 #547929
triadic
#797629 #297976 #762979
tetradic
#797629 #29794E #292C79 #792954
square
#797629 #29794E #292C79 #792954
split-complementary
#797629 #295479 #4E2979
monochromatic
#1E1D0A #4B491A #797629 #A7A338 #C6C256

Accessibility & contrast

On white

4.73
#797629 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#797629 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797629
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797629#FFFFFF#000000##FFFFFF
##7976291.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711F
Deuteranopia (green-blind)
#81752E
Tritanopia (blue-blind)
#826E66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797629;
/* rgb */ color: rgb(121, 118, 41);
/* oklch */ color: oklch(55.3% 0.098 107.1);
Tailwind
colors: {
  custom: {
    50: '#a29d67',
    500: '#797629',
    950: '#000000',
  },
}
SCSS
$custom: #797629;
$custom-light: #a29d67;
$custom-dark: #000000;
JSON
{
  "hex": "#797629",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 41
  },
  "hsl": {
    "h": 57.75,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55277,
    "c": 0.09808,
    "h": 107.1
  },
  "luminance": 0.17182
}

Semantic roles & 50–950 ramp

primary
#797629
secondary
#5356AB
accent
#54D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797629

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

Preview Lab → · Contrast checker → · Palette generator →

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