#7A651B#7A651B

#7A651B is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.3% C 0.094 H 92.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7A651B
RGBrgb(122, 101, 27)
HSLhsl(47, 64%, 29%)
HSVhsv(47, 78%, 48%)
CMYKcmyk(0%, 17.2%, 77.9%, 52.2%)
CIE-LABlab(43.54, 0.16, 42.46)
CIE-LCHlch(43.54, 42.46, 89.79°)
OKLaboklab(51.34% -0.004 0.0934)
OKLCHoklch(51.34% 0.094 92.4)
XYZxyz(12.8783, 13.5248, 2.9689)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A651B #1B307A
analogous
#7A361B #7A651B #607A1B
triadic
#7A651B #1B7A65 #651B7A
tetradic
#7A651B #1B7A36 #1B307A #7A1B60
square
#7A651B #1B7A36 #1B307A #7A1B60
split-complementary
#7A651B #1B607A #361B7A
monochromatic
#191506 #483C10 #7A651B #AC8E26 #D4B23C

Accessibility & contrast

On white

5.67
#7A651B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7A651B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A651B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A651B#FFFFFF#000000##FFFFFF
##7A651B1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71630E
Deuteranopia (green-blind)
#76691F
Tritanopia (blue-blind)
#845C57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a651b;
/* rgb */ color: rgb(122, 101, 27);
/* oklch */ color: oklch(51.3% 0.094 92.4);
Tailwind
colors: {
  custom: {
    50: '#a4905d',
    500: '#7a651b',
    950: '#000000',
  },
}
SCSS
$custom: #7a651b;
$custom-light: #a4905d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a651b",
  "rgb": {
    "r": 122,
    "g": 101,
    "b": 27
  },
  "hsl": {
    "h": 46.737,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51343,
    "c": 0.09351,
    "h": 92.4
  },
  "luminance": 0.13524
}

Semantic roles & 50–950 ramp

primary
#7A651B
secondary
#435AAE
accent
#66E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A651B

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

Preview Lab → · Contrast checker → · Palette generator →

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