#AF9743#AF9743

#AF9743 is a light, moderate yellow. Relative luminance 0.317; OKLCH L 68.1% C 0.107 H 93.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#AF9743
RGBrgb(175, 151, 67)
HSLhsl(47, 45%, 47%)
HSVhsv(47, 62%, 69%)
CMYKcmyk(0%, 13.7%, 61.7%, 31.4%)
CIE-LABlab(63.06, -1.23, 46.52)
CIE-LCHlch(63.06, 46.53, 91.52°)
OKLaboklab(68.12% -0.0064 0.1072)
OKLCHoklch(68.12% 0.107 93.4)
XYZxyz(29.7603, 31.6539, 9.8514)
Luminance0.3165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9743 #435BAF
analogous
#AF6143 #AF9743 #91AF43
triadic
#AF9743 #43AF97 #9743AF
tetradic
#AF9743 #43AF61 #435BAF #AF4391
square
#AF9743 #43AF61 #435BAF #AF4391
split-complementary
#AF9743 #4391AF #6143AF
monochromatic
#564B21 #837132 #AF9743 #C6B169 #D7C896

Accessibility & contrast

On white

2.86
#AF9743 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#AF9743 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9743
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9743#FFFFFF#000000##000000
##AF97431.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6943A
Deuteranopia (green-blind)
#AC9C47
Tritanopia (blue-blind)
#BC8C85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af9743;
/* rgb */ color: rgb(175, 151, 67);
/* oklch */ color: oklch(68.1% 0.107 93.4);
Tailwind
colors: {
  custom: {
    50: '#cab57a',
    500: '#af9743',
    950: '#000000',
  },
}
SCSS
$custom: #af9743;
$custom-light: #cab57a;
$custom-dark: #000000;
JSON
{
  "hex": "#af9743",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 67
  },
  "hsl": {
    "h": 46.667,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68115,
    "c": 0.10735,
    "h": 93.4
  },
  "luminance": 0.31652
}

Semantic roles & 50–950 ramp

primary
#AF9743
secondary
#8B98C2
accent
#70D453
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #AF9743

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

Preview Lab → · Contrast checker → · Palette generator →

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