#AFB367#AFB367

#AFB367 is a light, moderate yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.099 H 111.2°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#AFB367
RGBrgb(175, 179, 103)
HSLhsl(63, 33%, 55%)
HSVhsv(63, 42%, 70%)
CMYKcmyk(2.2%, 0%, 42.5%, 29.8%)
CIE-LABlab(71.10, -12.84, 38.23)
CIE-LCHlch(71.10, 40.33, 108.57°)
OKLaboklab(74.64% -0.0358 0.0924)
OKLCHoklch(74.64% 0.099 111.2)
XYZxyz(36.2480, 42.3341, 19.0911)
Luminance0.4233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB367 #6B67B3
analogous
#B39167 #AFB367 #89B367
triadic
#AFB367 #67AFB3 #B367AF
tetradic
#AFB367 #67B391 #6B67B3 #B36789
square
#AFB367 #67B391 #6B67B3 #B36789
split-complementary
#AFB367 #6789B3 #9167B3
monochromatic
#686A35 #8F934A #AFB367 #C4C790 #DADCB9

Accessibility & contrast

On white

2.22
#AFB367 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#AFB367 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB367
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB367#FFFFFF#000000##000000
##AFB3671.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAD61
Deuteranopia (green-blind)
#BEAF6B
Tritanopia (blue-blind)
#B8ABA1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb367;
/* rgb */ color: rgb(175, 179, 103);
/* oklch */ color: oklch(74.6% 0.099 111.2);
Tailwind
colors: {
  custom: {
    50: '#c8c994',
    500: '#afb367',
    950: '#000000',
  },
}
SCSS
$custom: #afb367;
$custom-light: #c8c994;
$custom-dark: #000000;
JSON
{
  "hex": "#afb367",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 103
  },
  "hsl": {
    "h": 63.158,
    "s": 33.333,
    "l": 55.294
  },
  "oklch": {
    "l": 0.74638,
    "c": 0.09913,
    "h": 111.2
  },
  "luminance": 0.42333
}

Semantic roles & 50–950 ramp

primary
#AFB367
secondary
#ADABCB
accent
#5EC964
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB367

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

Preview Lab → · Contrast checker → · Palette generator →

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