#AFB366#AFB366

#AFB366 is a light, moderate yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.100 H 111.2°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#AFB366
RGBrgb(175, 179, 102)
HSLhsl(63, 34%, 55%)
HSVhsv(63, 43%, 70%)
CMYKcmyk(2.2%, 0%, 43%, 29.8%)
CIE-LABlab(71.09, -12.95, 38.73)
CIE-LCHlch(71.09, 40.83, 108.49°)
OKLaboklab(74.62% -0.0362 0.0935)
OKLCHoklch(74.62% 0.1 111.2)
XYZxyz(36.1981, 42.3141, 18.8284)
Luminance0.4231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB366 #6A66B3
analogous
#B39066 #AFB366 #88B366
triadic
#AFB366 #66AFB3 #B366AF
tetradic
#AFB366 #66B390 #6A66B3 #B36688
square
#AFB366 #66B390 #6A66B3 #B36688
split-complementary
#AFB366 #6688B3 #9066B3
monochromatic
#676A35 #8F9349 #AFB366 #C4C78F #DADCB8

Accessibility & contrast

On white

2.22
#AFB366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#AFB366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB366
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB366#FFFFFF#000000##000000
##AFB3661.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAD60
Deuteranopia (green-blind)
#BEAF6A
Tritanopia (blue-blind)
#B8ABA1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb366;
/* rgb */ color: rgb(175, 179, 102);
/* oklch */ color: oklch(74.6% 0.100 111.2);
Tailwind
colors: {
  custom: {
    50: '#c8c993',
    500: '#afb366',
    950: '#000000',
  },
}
SCSS
$custom: #afb366;
$custom-light: #c8c993;
$custom-dark: #000000;
JSON
{
  "hex": "#afb366",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 102
  },
  "hsl": {
    "h": 63.117,
    "s": 33.624,
    "l": 55.098
  },
  "oklch": {
    "l": 0.74622,
    "c": 0.10025,
    "h": 111.2
  },
  "luminance": 0.42313
}

Semantic roles & 50–950 ramp

primary
#AFB366
secondary
#ACAACB
accent
#5ECA64
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB366

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

Preview Lab → · Contrast checker → · Palette generator →

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