#AFB35E#AFB35E

#AFB35E is a light, moderate yellow. Relative luminance 0.422; OKLCH L 74.5% C 0.109 H 111.2°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#AFB35E
RGBrgb(175, 179, 94)
HSLhsl(63, 36%, 54%)
HSVhsv(63, 47%, 70%)
CMYKcmyk(2.2%, 0%, 47.5%, 29.8%)
CIE-LABlab(70.98, -13.77, 42.62)
CIE-LCHlch(70.98, 44.79, 107.90°)
OKLaboklab(74.51% -0.0393 0.1016)
OKLCHoklch(74.51% 0.109 111.2)
XYZxyz(35.8203, 42.1630, 16.8388)
Luminance0.4216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB35E #625EB3
analogous
#B38C5E #AFB35E #84B35E
triadic
#AFB35E #5EAFB3 #B35EAF
tetradic
#AFB35E #5EB38C #625EB3 #B35E84
square
#AFB35E #5EB38C #625EB3 #B35E84
split-complementary
#AFB35E #5E84B3 #8C5EB3
monochromatic
#646630 #8C9044 #AFB35E #C4C788 #D8DAB1

Accessibility & contrast

On white

2.23
#AFB35E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#AFB35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB35E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB35E#FFFFFF#000000##000000
##AFB35E1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAC57
Deuteranopia (green-blind)
#BFAF62
Tritanopia (blue-blind)
#B9AA9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb35e;
/* rgb */ color: rgb(175, 179, 94);
/* oklch */ color: oklch(74.5% 0.109 111.2);
Tailwind
colors: {
  custom: {
    50: '#c8c98d',
    500: '#afb35e',
    950: '#000000',
  },
}
SCSS
$custom: #afb35e;
$custom-light: #c8c98d;
$custom-dark: #000000;
JSON
{
  "hex": "#afb35e",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 94
  },
  "hsl": {
    "h": 62.824,
    "s": 35.865,
    "l": 53.529
  },
  "oklch": {
    "l": 0.74506,
    "c": 0.10889,
    "h": 111.2
  },
  "luminance": 0.42162
}

Semantic roles & 50–950 ramp

primary
#AFB35E
secondary
#A6A4C9
accent
#5CCC61
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB35E

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

Preview Lab → · Contrast checker → · Palette generator →

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