#AFB836#AFB836

#AFB836 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.2% C 0.149 H 113.4°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#AFB836
RGBrgb(175, 184, 54)
HSLhsl(64, 55%, 47%)
HSVhsv(64, 71%, 72%)
CMYKcmyk(4.9%, 0%, 70.7%, 27.8%)
CIE-LABlab(72.00, -19.28, 61.35)
CIE-LCHlch(72.00, 64.31, 107.45°)
OKLaboklab(75.2% -0.059 0.1365)
OKLCHoklch(75.2% 0.149 113.4)
XYZxyz(35.4866, 43.6620, 10.0476)
Luminance0.4366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB836 #3F36B8
analogous
#B88036 #AFB836 #6EB836
triadic
#AFB836 #36AFB8 #B836AF
tetradic
#AFB836 #36B880 #3F36B8 #B8366E
square
#AFB836 #36B880 #3F36B8 #B8366E
split-complementary
#AFB836 #366EB8 #8036B8
monochromatic
#55591A #828928 #AFB836 #C7CF5C #D7DD8B

Accessibility & contrast

On white

2.16
#AFB836 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#AFB836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB836
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB836#FFFFFF#000000##000000
##AFB8361.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF20
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#BBAD9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb836;
/* rgb */ color: rgb(175, 184, 54);
/* oklch */ color: oklch(75.2% 0.149 113.4);
Tailwind
colors: {
  custom: {
    50: '#cacd76',
    500: '#afb836',
    950: '#000000',
  },
}
SCSS
$custom: #afb836;
$custom-light: #cacd76;
$custom-dark: #000000;
JSON
{
  "hex": "#afb836",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 54
  },
  "hsl": {
    "h": 64.154,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75202,
    "c": 0.1487,
    "h": 113.4
  },
  "luminance": 0.43661
}

Semantic roles & 50–950 ramp

primary
#AFB836
secondary
#8782C7
accent
#4ADE54
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB836

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

Preview Lab → · Contrast checker → · Palette generator →

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