#AFB646#AFB646

#AFB646 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.9% C 0.135 H 112.6°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#AFB646
RGBrgb(175, 182, 70)
HSLhsl(64, 44%, 49%)
HSVhsv(64, 62%, 71%)
CMYKcmyk(3.8%, 0%, 61.5%, 28.6%)
CIE-LABlab(71.56, -17.30, 54.49)
CIE-LCHlch(71.56, 57.17, 107.62°)
OKLaboklab(74.89% -0.0518 0.1245)
OKLCHoklch(74.89% 0.135 112.6)
XYZxyz(35.5136, 43.0128, 12.2247)
Luminance0.4301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB646 #4D46B6
analogous
#B68546 #AFB646 #77B646
triadic
#AFB646 #46AFB6 #B646AF
tetradic
#AFB646 #46B685 #4D46B6 #B64677
square
#AFB646 #46B685 #4D46B6 #B64677
split-complementary
#AFB646 #4677B6 #8546B6
monochromatic
#5A5E24 #858A35 #AFB646 #C3C871 #D6D99D

Accessibility & contrast

On white

2.19
#AFB646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#AFB646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB646
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB646#FFFFFF#000000##000000
##AFB6461.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE39
Deuteranopia (green-blind)
#C3B14D
Tritanopia (blue-blind)
#BAAC9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb646;
/* rgb */ color: rgb(175, 182, 70);
/* oklch */ color: oklch(74.9% 0.135 112.6);
Tailwind
colors: {
  custom: {
    50: '#c9cb7e',
    500: '#afb646',
    950: '#000000',
  },
}
SCSS
$custom: #afb646;
$custom-light: #c9cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afb646",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 70
  },
  "hsl": {
    "h": 63.75,
    "s": 44.444,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74889,
    "c": 0.13487,
    "h": 112.6
  },
  "luminance": 0.43012
}

Semantic roles & 50–950 ramp

primary
#AFB646
secondary
#9592C6
accent
#54D45C
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB646

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

Preview Lab → · Contrast checker → · Palette generator →

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