#787243#787243

#787243 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.067 H 102.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#787243
RGBrgb(120, 114, 67)
HSLhsl(53, 28%, 37%)
HSVhsv(53, 44%, 47%)
CMYKcmyk(0%, 5%, 44.2%, 52.9%)
CIE-LABlab(47.54, -5.02, 26.83)
CIE-LCHlch(47.54, 27.30, 100.59°)
OKLaboklab(54.6% -0.0138 0.0651)
OKLCHoklch(54.6% 0.067 102)
XYZxyz(14.7765, 16.4334, 7.7027)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787243 #434978
analogous
#785843 #787243 #647843
triadic
#787243 #437872 #724378
tetradic
#787243 #437858 #434978 #784364
square
#787243 #437858 #434978 #784364
split-complementary
#787243 #436478 #584378
monochromatic
#292717 #514D2D #787243 #9F9759 #B7B17E

Accessibility & contrast

On white

4.90
#787243 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#787243 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787243
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787243#FFFFFF#000000##FFFFFF
##7872431.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3F
Deuteranopia (green-blind)
#7C7245
Tritanopia (blue-blind)
#7F6C67
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #787243;
/* rgb */ color: rgb(120, 114, 67);
/* oklch */ color: oklch(54.6% 0.067 102.0);
Tailwind
colors: {
  custom: {
    50: '#a09a78',
    500: '#787243',
    950: '#000000',
  },
}
SCSS
$custom: #787243;
$custom-light: #a09a78;
$custom-dark: #000000;
JSON
{
  "hex": "#787243",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 67
  },
  "hsl": {
    "h": 53.208,
    "s": 28.342,
    "l": 36.667
  },
  "oklch": {
    "l": 0.546,
    "c": 0.06656,
    "h": 102
  },
  "luminance": 0.16433
}

Semantic roles & 50–950 ramp

primary
#787243
secondary
#747AA2
accent
#6EC563
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #787243

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

Preview Lab → · Contrast checker → · Palette generator →

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