#AFB377#AFB377

#AFB377 is a light, moderate yellow. Relative luminance 0.427; OKLCH L 74.9% C 0.080 H 111.4°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#AFB377
RGBrgb(175, 179, 119)
HSLhsl(64, 28%, 58%)
HSVhsv(64, 34%, 70%)
CMYKcmyk(2.2%, 0%, 33.5%, 29.8%)
CIE-LABlab(71.34, -10.97, 30.23)
CIE-LCHlch(71.34, 32.15, 109.94°)
OKLaboklab(74.91% -0.0294 0.0749)
OKLCHoklch(74.91% 0.08 111.4)
XYZxyz(37.1293, 42.6866, 23.7326)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB377 #7B77B3
analogous
#B39977 #AFB377 #91B377
triadic
#AFB377 #77AFB3 #B377AF
tetradic
#AFB377 #77B399 #7B77B3 #B37791
square
#AFB377 #77B399 #7B77B3 #B37791
split-complementary
#AFB377 #7791B3 #9977B3
monochromatic
#6D713F #939855 #AFB377 #C6C99E #DDDFC6

Accessibility & contrast

On white

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

On black

9.54
#AFB377 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB377
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB377#FFFFFF#000000##000000
##AFB3771.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAE73
Deuteranopia (green-blind)
#BCB07A
Tritanopia (blue-blind)
#B7ACA4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb377;
/* rgb */ color: rgb(175, 179, 119);
/* oklch */ color: oklch(74.9% 0.080 111.4);
Tailwind
colors: {
  custom: {
    50: '#c7c99f',
    500: '#afb377',
    950: '#000000',
  },
}
SCSS
$custom: #afb377;
$custom-light: #c7c99f;
$custom-dark: #000000;
JSON
{
  "hex": "#afb377",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 119
  },
  "hsl": {
    "h": 64,
    "s": 28.302,
    "l": 58.431
  },
  "oklch": {
    "l": 0.74908,
    "c": 0.0804,
    "h": 111.4
  },
  "luminance": 0.42686
}

Semantic roles & 50–950 ramp

primary
#AFB377
secondary
#B9B7CF
accent
#63C56A
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFB377

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

Preview Lab → · Contrast checker → · Palette generator →

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