#AFBA67#AFBA67

#AFBA67 is a light, moderate yellow. Relative luminance 0.452; OKLCH L 76.2% C 0.108 H 115.2°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#AFBA67
RGBrgb(175, 186, 103)
HSLhsl(68, 38%, 57%)
HSVhsv(68, 45%, 73%)
CMYKcmyk(5.9%, 0%, 44.6%, 27.1%)
CIE-LABlab(73.03, -16.43, 40.63)
CIE-LCHlch(73.03, 43.83, 112.01°)
OKLaboklab(76.18% -0.046 0.0978)
OKLCHoklch(76.18% 0.108 115.2)
XYZxyz(37.6867, 45.2115, 19.5707)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBA67 #7267BA
analogous
#BA9C67 #AFBA67 #86BA67
triadic
#AFBA67 #67AFBA #BA67AF
tetradic
#AFBA67 #67BA9C #7267BA #BA6786
square
#AFBA67 #67BA9C #7267BA #BA6786
split-complementary
#AFBA67 #6786BA #9C67BA
monochromatic
#6A7334 #919D47 #AFBA67 #C5CD91 #DBE0BB

Accessibility & contrast

On white

2.09
#AFBA67 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#AFBA67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBA67
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBA67#FFFFFF#000000##000000
##AFBA671.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B360
Deuteranopia (green-blind)
#C4B46B
Tritanopia (blue-blind)
#B7B2A6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afba67;
/* rgb */ color: rgb(175, 186, 103);
/* oklch */ color: oklch(76.2% 0.108 115.2);
Tailwind
colors: {
  custom: {
    50: '#c8ce94',
    500: '#afba67',
    950: '#000000',
  },
}
SCSS
$custom: #afba67;
$custom-light: #c8ce94;
$custom-dark: #000000;
JSON
{
  "hex": "#afba67",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 103
  },
  "hsl": {
    "h": 67.952,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.76177,
    "c": 0.10809,
    "h": 115.2
  },
  "luminance": 0.45211
}

Semantic roles & 50–950 ramp

primary
#AFBA67
secondary
#B2ADCF
accent
#5ACE6A
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFBA67

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

Preview Lab → · Contrast checker → · Palette generator →

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