#AF9734#AF9734

#AF9734 is a light, moderate yellow. Relative luminance 0.315; OKLCH L 68.0% C 0.119 H 95.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#AF9734
RGBrgb(175, 151, 52)
HSLhsl(48, 54%, 45%)
HSVhsv(48, 70%, 69%)
CMYKcmyk(0%, 13.7%, 70.3%, 31.4%)
CIE-LABlab(62.92, -2.17, 53.08)
CIE-LCHlch(62.92, 53.13, 92.34°)
OKLaboklab(67.97% -0.0109 0.1187)
OKLCHoklch(67.97% 0.119 95.2)
XYZxyz(29.3671, 31.4967, 7.7808)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9734 #344CAF
analogous
#AF5A34 #AF9734 #89AF34
triadic
#AF9734 #34AF97 #9734AF
tetradic
#AF9734 #34AF5A #344CAF #AF3489
square
#AF9734 #34AF5A #344CAF #AF3489
split-complementary
#AF9734 #3489AF #5A34AF
monochromatic
#514618 #806E26 #AF9734 #CCB554 #DAC983

Accessibility & contrast

On white

2.88
#AF9734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#AF9734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9734
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9734#FFFFFF#000000##000000
##AF97341.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79426
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#BD8B83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af9734;
/* rgb */ color: rgb(175, 151, 52);
/* oklch */ color: oklch(68.0% 0.119 95.2);
Tailwind
colors: {
  custom: {
    50: '#cab571',
    500: '#af9734',
    950: '#000000',
  },
}
SCSS
$custom: #af9734;
$custom-light: #cab571;
$custom-dark: #000000;
JSON
{
  "hex": "#af9734",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 52
  },
  "hsl": {
    "h": 48.293,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6797,
    "c": 0.1192,
    "h": 95.2
  },
  "luminance": 0.31495
}

Semantic roles & 50–950 ramp

primary
#AF9734
secondary
#7B89C4
accent
#67DE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9734

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

Preview Lab → · Contrast checker → · Palette generator →

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