#AFB461#AFB461

#AFB461 is a light, moderate yellow. Relative luminance 0.426; OKLCH L 74.8% C 0.107 H 111.7°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#AFB461
RGBrgb(175, 180, 97)
HSLhsl(64, 36%, 54%)
HSVhsv(64, 46%, 71%)
CMYKcmyk(2.8%, 0%, 46.1%, 29.4%)
CIE-LABlab(71.30, -13.98, 41.51)
CIE-LCHlch(71.30, 43.80, 108.62°)
OKLaboklab(74.77% -0.0396 0.0993)
OKLCHoklch(74.77% 0.107 111.7)
XYZxyz(36.1587, 42.6202, 17.6287)
Luminance0.4262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB461 #6661B4
analogous
#B48F61 #AFB461 #86B461
triadic
#AFB461 #61AFB4 #B461AF
tetradic
#AFB461 #61B48F #6661B4 #B46186
square
#AFB461 #61B48F #6661B4 #B46186
split-complementary
#AFB461 #6186B4 #8F61B4
monochromatic
#666932 #8E9245 #AFB461 #C4C88B #D9DBB4

Accessibility & contrast

On white

2.20
#AFB461 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#AFB461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB461
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB461#FFFFFF#000000##000000
##AFB4611.002.209.529.52
#FFFFFF2.201.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAD5A
Deuteranopia (green-blind)
#BFB065
Tritanopia (blue-blind)
#B8ABA0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb461;
/* rgb */ color: rgb(175, 180, 97);
/* oklch */ color: oklch(74.8% 0.107 111.7);
Tailwind
colors: {
  custom: {
    50: '#c8ca90',
    500: '#afb461',
    950: '#000000',
  },
}
SCSS
$custom: #afb461;
$custom-light: #c8ca90;
$custom-dark: #000000;
JSON
{
  "hex": "#afb461",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 97
  },
  "hsl": {
    "h": 63.614,
    "s": 35.622,
    "l": 54.314
  },
  "oklch": {
    "l": 0.74768,
    "c": 0.10694,
    "h": 111.7
  },
  "luminance": 0.4262
}

Semantic roles & 50–950 ramp

primary
#AFB461
secondary
#A9A7CA
accent
#5CCC63
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB461

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

Preview Lab → · Contrast checker → · Palette generator →

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