#798323#798323

#798323 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.3% C 0.117 H 115.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#798323
RGBrgb(121, 131, 35)
HSLhsl(66, 58%, 33%)
HSVhsv(66, 73%, 51%)
CMYKcmyk(7.6%, 0%, 73.3%, 48.6%)
CIE-LABlab(52.31, -16.61, 47.75)
CIE-LCHlch(52.31, 50.56, 109.18°)
OKLaboklab(58.32% -0.0502 0.1062)
OKLCHoklch(58.32% 0.118 115.3)
XYZxyz(16.3053, 20.4192, 4.6721)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798323 #2D2383
analogous
#835D23 #798323 #498323
triadic
#798323 #237983 #832379
tetradic
#798323 #23835D #2D2383 #832349
square
#798323 #23835D #2D2383 #832349
split-complementary
#798323 #234983 #5D2383
monochromatic
#202209 #4C5316 #798323 #A6B330 #C3D050

Accessibility & contrast

On white

4.13
#798323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#798323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798323
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798323#FFFFFF#000000##000000
##7983231.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C12
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#817B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798323;
/* rgb */ color: rgb(121, 131, 35);
/* oklch */ color: oklch(58.3% 0.117 115.3);
Tailwind
colors: {
  custom: {
    50: '#a3a665',
    500: '#798323',
    950: '#000000',
  },
}
SCSS
$custom: #798323;
$custom-light: #a3a665;
$custom-dark: #000000;
JSON
{
  "hex": "#798323",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 66.25,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58316,
    "c": 0.1175,
    "h": 115.3
  },
  "luminance": 0.20419
}

Semantic roles & 50–950 ramp

primary
#798323
secondary
#584EB4
accent
#47E157
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798323

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

Preview Lab → · Contrast checker → · Palette generator →

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