#AFB264#AFB264

#AFB264 is a light, moderate yellow. Relative luminance 0.419; OKLCH L 74.4% C 0.101 H 110.5°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#AFB264
RGBrgb(175, 178, 100)
HSLhsl(62, 34%, 55%)
HSVhsv(62, 44%, 70%)
CMYKcmyk(1.7%, 0%, 43.8%, 30.2%)
CIE-LABlab(70.78, -12.64, 39.37)
CIE-LCHlch(70.78, 41.35, 107.81°)
OKLaboklab(74.37% -0.0355 0.0948)
OKLCHoklch(74.37% 0.101 110.5)
XYZxyz(35.9004, 41.8755, 18.2457)
Luminance0.4188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB264 #6764B2
analogous
#B28E64 #AFB264 #88B264
triadic
#AFB264 #64AFB2 #B264AF
tetradic
#AFB264 #64B28E #6764B2 #B26488
square
#AFB264 #64B28E #6764B2 #B26488
split-complementary
#AFB264 #6488B2 #8E64B2
monochromatic
#666834 #8E9148 #AFB264 #C4C68D #D9DBB6

Accessibility & contrast

On white

2.24
#AFB264 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#AFB264 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB264
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB264#FFFFFF#000000##000000
##AFB2641.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAC5E
Deuteranopia (green-blind)
#BDAE68
Tritanopia (blue-blind)
#B8AA9F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb264;
/* rgb */ color: rgb(175, 178, 100);
/* oklch */ color: oklch(74.4% 0.101 110.5);
Tailwind
colors: {
  custom: {
    50: '#c8c891',
    500: '#afb264',
    950: '#000000',
  },
}
SCSS
$custom: #afb264;
$custom-light: #c8c891;
$custom-dark: #000000;
JSON
{
  "hex": "#afb264",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 100
  },
  "hsl": {
    "h": 62.308,
    "s": 33.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.74373,
    "c": 0.10122,
    "h": 110.5
  },
  "luminance": 0.41875
}

Semantic roles & 50–950 ramp

primary
#AFB264
secondary
#AAA8C9
accent
#5ECA62
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB264

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

Preview Lab → · Contrast checker → · Palette generator →

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