#796923#796923

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

Color values

HEX#796923
RGBrgb(121, 105, 35)
HSLhsl(49, 55%, 31%)
HSVhsv(49, 71%, 47%)
CMYKcmyk(0%, 13.2%, 71.1%, 52.5%)
CIE-LABlab(44.65, -2.21, 40.07)
CIE-LCHlch(44.65, 40.13, 93.16°)
OKLaboklab(52.21% -0.0097 0.09)
OKLCHoklch(52.21% 0.091 96.1)
XYZxyz(13.2407, 14.2901, 3.6506)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796923 #233379
analogous
#793E23 #796923 #5E7923
triadic
#796923 #237969 #692379
tetradic
#796923 #23793E #233379 #79235E
square
#796923 #23793E #233379 #79235E
split-complementary
#796923 #235E79 #3E2379
monochromatic
#1A1708 #4A4015 #796923 #A89231 #CBB34B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796923#FFFFFF#000000##FFFFFF
##7969231.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)
#74671A
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#83615B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #796923;
/* rgb */ color: rgb(121, 105, 35);
/* oklch */ color: oklch(52.2% 0.091 96.1);
Tailwind
colors: {
  custom: {
    50: '#a39362',
    500: '#796923',
    950: '#000000',
  },
}
SCSS
$custom: #796923;
$custom-light: #a39362;
$custom-dark: #000000;
JSON
{
  "hex": "#796923",
  "rgb": {
    "r": 121,
    "g": 105,
    "b": 35
  },
  "hsl": {
    "h": 48.837,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52209,
    "c": 0.09054,
    "h": 96.1
  },
  "luminance": 0.14289
}

Semantic roles & 50–950 ramp

primary
#796923
secondary
#4C5EAC
accent
#65DE49
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D05
muted
#7F7E7A

Preview Lab

Preview with #796923

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

Preview Lab → · Contrast checker → · Palette generator →

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