#657412#657412

#657412 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 52.9% C 0.117 H 118.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#657412
RGBrgb(101, 116, 18)
HSLhsl(69, 73%, 26%)
HSVhsv(69, 84%, 45%)
CMYKcmyk(12.9%, 0%, 84.5%, 54.5%)
CIE-LABlab(46.04, -18.55, 47.19)
CIE-LCHlch(46.04, 50.71, 111.46°)
OKLaboklab(52.85% -0.0559 0.1026)
OKLCHoklch(52.85% 0.117 118.6)
XYZxyz(11.7217, 15.3013, 2.9081)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#657412 #211274
analogous
#745212 #657412 #347412
triadic
#657412 #126574 #741265
tetradic
#657412 #127452 #211274 #741234
square
#657412 #127452 #211274 #741234
split-complementary
#657412 #123474 #521274
monochromatic
#171A04 #373F0A #657412 #93A91A #C1DD23

Accessibility & contrast

On white

5.17
#657412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#657412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #657412
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##657412#FFFFFF#000000##FFFFFF
##6574121.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7B6D1C
Tritanopia (blue-blind)
#6C6D62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #657412;
/* rgb */ color: rgb(101, 116, 18);
/* oklch */ color: oklch(52.9% 0.117 118.6);
Tailwind
colors: {
  custom: {
    50: '#949c5b',
    500: '#657412',
    950: '#000000',
  },
}
SCSS
$custom: #657412;
$custom-light: #949c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#657412",
  "rgb": {
    "r": 101,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 69.184,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.11685,
    "h": 118.6
  },
  "luminance": 0.15301
}

Semantic roles & 50–950 ramp

primary
#657412
secondary
#4937AB
accent
#38F054
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #657412

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

Preview Lab → · Contrast checker → · Palette generator →

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