#A68C1F#A68C1F

#A68C1F is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.6% C 0.123 H 94.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A68C1F
RGBrgb(166, 140, 31)
HSLhsl(48, 69%, 39%)
HSVhsv(48, 81%, 65%)
CMYKcmyk(0%, 15.7%, 81.3%, 34.9%)
CIE-LABlab(58.94, -1.16, 56.81)
CIE-LCHlch(58.94, 56.82, 91.17°)
OKLaboklab(64.57% -0.0097 0.1228)
OKLCHoklch(64.57% 0.123 94.5)
XYZxyz(25.3527, 26.9636, 5.1652)
Luminance0.2696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68C1F #1F39A6
analogous
#A6481F #A68C1F #7CA61F
triadic
#A68C1F #1FA68C #8C1FA6
tetradic
#A68C1F #1FA648 #1F39A6 #A61F7C
square
#A68C1F #1FA648 #1F39A6 #A61F7C
split-complementary
#A68C1F #1F7CA6 #481FA6
monochromatic
#3F350C #726115 #A68C1F #D7B62B #E1C85E

Accessibility & contrast

On white

3.29
#A68C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#A68C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A68C1F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68C1F#FFFFFF#000000##000000
##A68C1F1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8901
Deuteranopia (green-blind)
#A29127
Tritanopia (blue-blind)
#B48078
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a68c1f;
/* rgb */ color: rgb(166, 140, 31);
/* oklch */ color: oklch(64.6% 0.123 94.5);
Tailwind
colors: {
  custom: {
    50: '#c5ad65',
    500: '#a68c1f',
    950: '#000000',
  },
}
SCSS
$custom: #a68c1f;
$custom-light: #c5ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#a68c1f",
  "rgb": {
    "r": 166,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 48.444,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64571,
    "c": 0.12321,
    "h": 94.5
  },
  "luminance": 0.26962
}

Semantic roles & 50–950 ramp

primary
#A68C1F
secondary
#5B70C5
accent
#5EEB3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A68C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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