#657012#657012

#657012 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.9% C 0.112 H 116.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#657012
RGBrgb(101, 112, 18)
HSLhsl(67, 72%, 25%)
HSVhsv(67, 84%, 44%)
CMYKcmyk(9.8%, 0%, 83.9%, 56.1%)
CIE-LABlab(44.80, -16.42, 46.09)
CIE-LCHlch(44.80, 48.93, 109.61°)
OKLaboklab(51.85% -0.0501 0.1003)
OKLCHoklch(51.85% 0.112 116.5)
XYZxyz(11.2705, 14.3989, 2.7577)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657012 #1D1270
analogous
#704C12 #657012 #367012
triadic
#657012 #126570 #701265
tetradic
#657012 #12704C #1D1270 #701236
square
#657012 #12704C #1D1270 #701236
split-complementary
#657012 #123670 #4C1270
monochromatic
#181A04 #353B0A #657012 #95A51A #C4D923

Accessibility & contrast

On white

5.41
#657012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#657012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657012
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657012#FFFFFF#000000##FFFFFF
##6570121.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#776B1B
Tritanopia (blue-blind)
#6C695F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #657012;
/* rgb */ color: rgb(101, 112, 18);
/* oklch */ color: oklch(51.9% 0.112 116.5);
Tailwind
colors: {
  custom: {
    50: '#94995a',
    500: '#657012',
    950: '#000000',
  },
}
SCSS
$custom: #657012;
$custom-light: #94995a;
$custom-dark: #000000;
JSON
{
  "hex": "#657012",
  "rgb": {
    "r": 101,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 67.021,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.51853,
    "c": 0.11207,
    "h": 116.5
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#657012
secondary
#4437A7
accent
#39EF4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #657012

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

Preview Lab → · Contrast checker → · Palette generator →

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