#AF9434#AF9434

#AF9434 is a light, moderate yellow. Relative luminance 0.305; OKLCH L 67.3% C 0.117 H 93.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#AF9434
RGBrgb(175, 148, 52)
HSLhsl(47, 54%, 45%)
HSVhsv(47, 70%, 69%)
CMYKcmyk(0%, 15.4%, 70.3%, 31.4%)
CIE-LABlab(62.12, -0.54, 52.26)
CIE-LCHlch(62.12, 52.27, 90.59°)
OKLaboklab(67.33% -0.0062 0.117)
OKLCHoklch(67.33% 0.117 93.1)
XYZxyz(28.8904, 30.5433, 7.6219)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9434 #344FAF
analogous
#AF5634 #AF9434 #8DAF34
triadic
#AF9434 #34AF94 #9434AF
tetradic
#AF9434 #34AF56 #344FAF #AF348D
square
#AF9434 #34AF56 #344FAF #AF348D
split-complementary
#AF9434 #348DAF #5634AF
monochromatic
#514418 #806C26 #AF9434 #CCB254 #DAC783

Accessibility & contrast

On white

2.95
#AF9434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#AF9434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9434
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9434#FFFFFF#000000##000000
##AF94341.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49227
Deuteranopia (green-blind)
#AA9A39
Tritanopia (blue-blind)
#BD8880
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9434;
/* rgb */ color: rgb(175, 148, 52);
/* oklch */ color: oklch(67.3% 0.117 93.1);
Tailwind
colors: {
  custom: {
    50: '#cab371',
    500: '#af9434',
    950: '#000000',
  },
}
SCSS
$custom: #af9434;
$custom-light: #cab371;
$custom-dark: #000000;
JSON
{
  "hex": "#af9434",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 52
  },
  "hsl": {
    "h": 46.829,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67334,
    "c": 0.11714,
    "h": 93.1
  },
  "luminance": 0.30542
}

Semantic roles & 50–950 ramp

primary
#AF9434
secondary
#7B8BC4
accent
#6BDE4A
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9434

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

Preview Lab → · Contrast checker → · Palette generator →

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