#797233#797233

#797233 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.5% C 0.084 H 103.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#797233
RGBrgb(121, 114, 51)
HSLhsl(54, 41%, 34%)
HSVhsv(54, 58%, 47%)
CMYKcmyk(0%, 5.8%, 57.9%, 52.5%)
CIE-LABlab(47.42, -6.18, 35.31)
CIE-LCHlch(47.42, 35.85, 99.92°)
OKLaboklab(54.46% -0.019 0.0823)
OKLCHoklch(54.46% 0.084 103)
XYZxyz(14.5005, 16.3391, 5.5213)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797233 #333A79
analogous
#794F33 #797233 #5D7933
triadic
#797233 #337972 #723379
tetradic
#797233 #33794F #333A79 #79335D
square
#797233 #33794F #333A79 #79335D
split-complementary
#797233 #335D79 #4F3379
monochromatic
#23210F #4E4921 #797233 #A49B45 #BFB667

Accessibility & contrast

On white

4.92
#797233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#797233 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797233
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797233#FFFFFF#000000##FFFFFF
##7972331.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F2D
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#816B64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #797233;
/* rgb */ color: rgb(121, 114, 51);
/* oklch */ color: oklch(54.5% 0.084 103.0);
Tailwind
colors: {
  custom: {
    50: '#a29a6d',
    500: '#797233',
    950: '#000000',
  },
}
SCSS
$custom: #797233;
$custom-light: #a29a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#797233",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 51
  },
  "hsl": {
    "h": 54,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54456,
    "c": 0.08449,
    "h": 103
  },
  "luminance": 0.16339
}

Semantic roles & 50–950 ramp

primary
#797233
secondary
#6168A7
accent
#63D157
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797233

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

Preview Lab → · Contrast checker → · Palette generator →

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