#AF9634#AF9634

#AF9634 is a light, moderate yellow. Relative luminance 0.312; OKLCH L 67.8% C 0.118 H 94.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#AF9634
RGBrgb(175, 150, 52)
HSLhsl(48, 54%, 45%)
HSVhsv(48, 70%, 69%)
CMYKcmyk(0%, 14.3%, 70.3%, 31.4%)
CIE-LABlab(62.66, -1.63, 52.81)
CIE-LCHlch(62.66, 52.83, 91.77°)
OKLaboklab(67.76% -0.0093 0.1181)
OKLCHoklch(67.76% 0.119 94.5)
XYZxyz(29.2069, 31.1762, 7.7274)
Luminance0.3118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9634 #344DAF
analogous
#AF5934 #AF9634 #8BAF34
triadic
#AF9634 #34AF96 #9634AF
tetradic
#AF9634 #34AF59 #344DAF #AF348B
square
#AF9634 #34AF59 #344DAF #AF348B
split-complementary
#AF9634 #348BAF #5934AF
monochromatic
#514518 #806E26 #AF9634 #CCB454 #DAC983

Accessibility & contrast

On white

2.90
#AF9634 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#AF9634 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9634
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9634#FFFFFF#000000##000000
##AF96341.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69326
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#BD8A82
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af9634;
/* rgb */ color: rgb(175, 150, 52);
/* oklch */ color: oklch(67.8% 0.118 94.5);
Tailwind
colors: {
  custom: {
    50: '#cab471',
    500: '#af9634',
    950: '#000000',
  },
}
SCSS
$custom: #af9634;
$custom-light: #cab471;
$custom-dark: #000000;
JSON
{
  "hex": "#af9634",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 52
  },
  "hsl": {
    "h": 47.805,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67757,
    "c": 0.1185,
    "h": 94.5
  },
  "luminance": 0.31175
}

Semantic roles & 50–950 ramp

primary
#AF9634
secondary
#7B8AC4
accent
#68DE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9634

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

Preview Lab → · Contrast checker → · Palette generator →

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