#798232#798232

#798232 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.2% C 0.104 H 115.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#798232
RGBrgb(121, 130, 50)
HSLhsl(67, 44%, 35%)
HSVhsv(67, 62%, 51%)
CMYKcmyk(6.9%, 0%, 61.5%, 49%)
CIE-LABlab(52.13, -15.06, 41.10)
CIE-LCHlch(52.13, 43.77, 110.12°)
OKLaboklab(58.21% -0.0443 0.0946)
OKLCHoklch(58.21% 0.104 115.1)
XYZxyz(16.4439, 20.2607, 6.0615)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798232 #3B3282
analogous
#826332 #798232 #518232
triadic
#798232 #327982 #823279
tetradic
#798232 #328263 #3B3282 #823251
square
#798232 #328263 #3B3282 #823251
split-complementary
#798232 #325182 #633282
monochromatic
#272A10 #505621 #798232 #A2AE43 #BBC569

Accessibility & contrast

On white

4.16
#798232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#798232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798232
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798232#FFFFFF#000000##000000
##7982321.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C29
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#807B71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #798232;
/* rgb */ color: rgb(121, 130, 50);
/* oklch */ color: oklch(58.2% 0.104 115.1);
Tailwind
colors: {
  custom: {
    50: '#a2a66d',
    500: '#798232',
    950: '#000000',
  },
}
SCSS
$custom: #798232;
$custom-light: #a2a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#798232",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 66.75,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58213,
    "c": 0.10444,
    "h": 115.1
  },
  "luminance": 0.20261
}

Semantic roles & 50–950 ramp

primary
#798232
secondary
#6B63AD
accent
#54D462
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #798232

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

Preview Lab → · Contrast checker → · Palette generator →

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