#7A7B2C#7A7B2C

#7A7B2C is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.101 H 109.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7A7B2C
RGBrgb(122, 123, 44)
HSLhsl(61, 47%, 33%)
HSVhsv(61, 64%, 48%)
CMYKcmyk(0.8%, 0%, 64.2%, 51.8%)
CIE-LABlab(50.08, -11.28, 41.69)
CIE-LCHlch(50.08, 43.19, 105.14°)
OKLaboklab(56.58% -0.0344 0.0949)
OKLCHoklch(56.58% 0.101 109.9)
XYZxyz(15.5641, 18.4858, 5.1306)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7B2C #2D2C7B
analogous
#7B542C #7A7B2C #537B2C
triadic
#7A7B2C #2C7A7B #7B2C7A
tetradic
#7A7B2C #2C7B54 #2D2C7B #7B2C53
square
#7A7B2C #2C7B54 #2D2C7B #7B2C53
split-complementary
#7A7B2C #2C537B #542C7B
monochromatic
#21210C #4D4E1C #7A7B2C #A7A83C #C4C55D

Accessibility & contrast

On white

4.47
#7A7B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7A7B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7B2C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7B2C#FFFFFF#000000##000000
##7A7B2C1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#857622
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#82736A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a7b2c;
/* rgb */ color: rgb(122, 123, 44);
/* oklch */ color: oklch(56.6% 0.101 109.9);
Tailwind
colors: {
  custom: {
    50: '#a3a169',
    500: '#7a7b2c',
    950: '#000000',
  },
}
SCSS
$custom: #7a7b2c;
$custom-light: #a3a169;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7b2c",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 60.759,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56576,
    "c": 0.10098,
    "h": 109.9
  },
  "luminance": 0.18485
}

Semantic roles & 50–950 ramp

primary
#7A7B2C
secondary
#5958AB
accent
#51D753
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A7B2C

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

Preview Lab → · Contrast checker → · Palette generator →

#7A7B2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva