#AFB77E#AFB77E

#AFB77E is a light, moderate yellow. Relative luminance 0.445; OKLCH L 75.9% C 0.077 H 114.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#AFB77E
RGBrgb(175, 183, 126)
HSLhsl(68, 28%, 61%)
HSVhsv(68, 31%, 72%)
CMYKcmyk(4.4%, 0%, 31.1%, 28.2%)
CIE-LABlab(72.55, -12.13, 28.12)
CIE-LCHlch(72.55, 30.63, 113.34°)
OKLaboklab(75.91% -0.0323 0.0701)
OKLCHoklch(75.91% 0.077 114.8)
XYZxyz(38.3786, 44.4876, 26.2998)
Luminance0.4449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB77E #867EB7
analogous
#B7A27E #AFB77E #92B77E
triadic
#AFB77E #7EAFB7 #B77EAF
tetradic
#AFB77E #7EB7A2 #867EB7 #B77E92
square
#AFB77E #7EB7A2 #867EB7 #B77E92
split-complementary
#AFB77E #7E92B7 #A27EB7
monochromatic
#707843 #959F59 #AFB77E #C7CDA5 #E0E3CD

Accessibility & contrast

On white

2.12
#AFB77E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#AFB77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB77E
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB77E#FFFFFF#000000##000000
##AFB77E1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB17A
Deuteranopia (green-blind)
#BEB380
Tritanopia (blue-blind)
#B5B1A8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afb77e;
/* rgb */ color: rgb(175, 183, 126);
/* oklch */ color: oklch(75.9% 0.077 114.8);
Tailwind
colors: {
  custom: {
    50: '#c7cca4',
    500: '#afb77e',
    950: '#000000',
  },
}
SCSS
$custom: #afb77e;
$custom-light: #c7cca4;
$custom-dark: #000000;
JSON
{
  "hex": "#afb77e",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 126
  },
  "hsl": {
    "h": 68.421,
    "s": 28.358,
    "l": 60.588
  },
  "oklch": {
    "l": 0.7591,
    "c": 0.07722,
    "h": 114.8
  },
  "luminance": 0.44487
}

Semantic roles & 50–950 ramp

primary
#AFB77E
secondary
#C1BED3
accent
#3FA74D
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFB77E

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

Preview Lab → · Contrast checker → · Palette generator →

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