#AFA25A#AFA25A

#AFA25A is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.094 H 99.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#AFA25A
RGBrgb(175, 162, 90)
HSLhsl(51, 35%, 52%)
HSVhsv(51, 49%, 69%)
CMYKcmyk(0%, 7.4%, 48.6%, 31.4%)
CIE-LABlab(66.29, -5.23, 38.92)
CIE-LCHlch(66.29, 39.27, 97.66°)
OKLaboklab(70.76% -0.0152 0.0931)
OKLCHoklch(70.76% 0.094 99.3)
XYZxyz(32.4459, 35.6939, 14.8514)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA25A #5A67AF
analogous
#AF785A #AFA25A #91AF5A
triadic
#AFA25A #5AAFA2 #A25AAF
tetradic
#AFA25A #5AAF78 #5A67AF #AF5A91
square
#AFA25A #5AAF78 #5A67AF #AF5A91
split-complementary
#AFA25A #5A91AF #785AAF
monochromatic
#60582F #897E43 #AFA25A #C3B983 #D7D0AC

Accessibility & contrast

On white

2.58
#AFA25A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#AFA25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA25A
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA25A#FFFFFF#000000##000000
##AFA25A1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E54
Deuteranopia (green-blind)
#B2A35D
Tritanopia (blue-blind)
#BA9991
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa25a;
/* rgb */ color: rgb(175, 162, 90);
/* oklch */ color: oklch(70.8% 0.094 99.3);
Tailwind
colors: {
  custom: {
    50: '#c9bd8a',
    500: '#afa25a',
    950: '#000000',
  },
}
SCSS
$custom: #afa25a;
$custom-light: #c9bd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afa25a",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 90
  },
  "hsl": {
    "h": 50.824,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70756,
    "c": 0.09431,
    "h": 99.3
  },
  "luminance": 0.35693
}

Semantic roles & 50–950 ramp

primary
#AFA25A
secondary
#A0A5C5
accent
#6ECB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA25A

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

Preview Lab → · Contrast checker → · Palette generator →

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