#796927#796927

#796927 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.2% C 0.087 H 95.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#796927
RGBrgb(121, 105, 39)
HSLhsl(48, 51%, 31%)
HSVhsv(48, 68%, 47%)
CMYKcmyk(0%, 13.2%, 67.8%, 52.5%)
CIE-LABlab(44.68, -1.95, 38.24)
CIE-LCHlch(44.68, 38.29, 92.92°)
OKLaboklab(52.25% -0.0084 0.0869)
OKLCHoklch(52.25% 0.087 95.5)
XYZxyz(13.3036, 14.3152, 3.9814)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796927 #273779
analogous
#794027 #796927 #607927
triadic
#796927 #277969 #692779
tetradic
#796927 #277940 #273779 #792760
square
#796927 #277940 #273779 #792760
split-complementary
#796927 #276079 #402779
monochromatic
#1C1909 #4B4118 #796927 #A79136 #C8B153

Accessibility & contrast

On white

5.44
#796927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#796927 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796927
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796927#FFFFFF#000000##FFFFFF
##7969271.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671F
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#83615B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #796927;
/* rgb */ color: rgb(121, 105, 39);
/* oklch */ color: oklch(52.2% 0.087 95.5);
Tailwind
colors: {
  custom: {
    50: '#a29364',
    500: '#796927',
    950: '#000000',
  },
}
SCSS
$custom: #796927;
$custom-light: #a29364;
$custom-dark: #000000;
JSON
{
  "hex": "#796927",
  "rgb": {
    "r": 121,
    "g": 105,
    "b": 39
  },
  "hsl": {
    "h": 48.293,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52248,
    "c": 0.08726,
    "h": 95.5
  },
  "luminance": 0.14315
}

Semantic roles & 50–950 ramp

primary
#796927
secondary
#5162AB
accent
#69DB4D
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796927

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

Preview Lab → · Contrast checker → · Palette generator →

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