#AF9235#AF9235

#AF9235 is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.9% C 0.115 H 91.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#AF9235
RGBrgb(175, 146, 53)
HSLhsl(46, 54%, 45%)
HSVhsv(46, 70%, 69%)
CMYKcmyk(0%, 16.6%, 69.7%, 31.4%)
CIE-LABlab(61.59, 0.60, 51.30)
CIE-LCHlch(61.59, 51.30, 89.33°)
OKLaboklab(66.92% -0.0028 0.1151)
OKLCHoklch(66.92% 0.115 91.4)
XYZxyz(28.6022, 29.9304, 7.6381)
Luminance0.2993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9235 #3552AF
analogous
#AF5535 #AF9235 #8FAF35
triadic
#AF9235 #35AF92 #9235AF
tetradic
#AF9235 #35AF55 #3552AF #AF358F
square
#AF9235 #35AF55 #3552AF #AF358F
split-complementary
#AF9235 #358FAF #5535AF
monochromatic
#514419 #806B27 #AF9235 #CCB056 #DAC685

Accessibility & contrast

On white

3.01
#AF9235 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#AF9235 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9235
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9235#FFFFFF#000000##000000
##AF92351.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29029
Deuteranopia (green-blind)
#A9983A
Tritanopia (blue-blind)
#BD867F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af9235;
/* rgb */ color: rgb(175, 146, 53);
/* oklch */ color: oklch(66.9% 0.115 91.4);
Tailwind
colors: {
  custom: {
    50: '#cab171',
    500: '#af9235',
    950: '#000000',
  },
}
SCSS
$custom: #af9235;
$custom-light: #cab171;
$custom-dark: #000000;
JSON
{
  "hex": "#af9235",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 53
  },
  "hsl": {
    "h": 45.738,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.66921,
    "c": 0.11514,
    "h": 91.4
  },
  "luminance": 0.29929
}

Semantic roles & 50–950 ramp

primary
#AF9235
secondary
#7C8DC4
accent
#6EDD4B
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9235

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

Preview Lab → · Contrast checker → · Palette generator →

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