#77842B#77842B

#77842B is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.5% C 0.114 H 117.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#77842B
RGBrgb(119, 132, 43)
HSLhsl(69, 51%, 34%)
HSVhsv(69, 67%, 52%)
CMYKcmyk(9.8%, 0%, 67.4%, 48.2%)
CIE-LABlab(52.51, -17.53, 44.62)
CIE-LCHlch(52.51, 47.94, 111.44°)
OKLaboklab(58.46% -0.0518 0.1011)
OKLCHoklch(58.46% 0.114 117.2)
XYZxyz(16.2954, 20.5991, 5.4026)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77842B #382B84
analogous
#84652B #77842B #4B842B
triadic
#77842B #2B7784 #842B77
tetradic
#77842B #2B8465 #382B84 #842B4B
square
#77842B #2B8465 #382B84 #842B4B
split-complementary
#77842B #2B4B84 #652B84
monochromatic
#24280D #4D561C #77842B #A1B23A #BBCB5F

Accessibility & contrast

On white

4.10
#77842B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#77842B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #77842B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77842B#FFFFFF#000000##000000
##77842B1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1F
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#7E7D72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #77842b;
/* rgb */ color: rgb(119, 132, 43);
/* oklch */ color: oklch(58.5% 0.114 117.2);
Tailwind
colors: {
  custom: {
    50: '#a1a769',
    500: '#77842b',
    950: '#000000',
  },
}
SCSS
$custom: #77842b;
$custom-light: #a1a769;
$custom-dark: #000000;
JSON
{
  "hex": "#77842b",
  "rgb": {
    "r": 119,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 68.764,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58456,
    "c": 0.11358,
    "h": 117.2
  },
  "luminance": 0.20599
}

Semantic roles & 50–950 ramp

primary
#77842B
secondary
#675AB1
accent
#4DDA62
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #77842B

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

Preview Lab → · Contrast checker → · Palette generator →

#77842B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva