#AFB136#AFB136

#AFB136 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.6% C 0.141 H 110.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#AFB136
RGBrgb(175, 177, 54)
HSLhsl(61, 53%, 45%)
HSVhsv(61, 69%, 69%)
CMYKcmyk(1.1%, 0%, 69.5%, 30.6%)
CIE-LABlab(70.05, -15.75, 59.43)
CIE-LCHlch(70.05, 61.48, 104.84°)
OKLaboklab(73.64% -0.0491 0.1325)
OKLCHoklch(73.64% 0.141 110.3)
XYZxyz(34.0683, 40.8255, 9.5748)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB136 #3836B1
analogous
#B17636 #AFB136 #71B136
triadic
#AFB136 #36AFB1 #B136AF
tetradic
#AFB136 #36B176 #3836B1 #B13671
square
#AFB136 #36B176 #3836B1 #B13671
split-complementary
#AFB136 #3671B1 #7636B1
monochromatic
#525319 #818228 #AFB136 #CACC58 #D9DA87

Accessibility & contrast

On white

2.29
#AFB136 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#AFB136 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB136
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB136#FFFFFF#000000##000000
##AFB1361.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA922
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#BBA699
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb136;
/* rgb */ color: rgb(175, 177, 54);
/* oklch */ color: oklch(73.6% 0.141 110.3);
Tailwind
colors: {
  custom: {
    50: '#cac875',
    500: '#afb136',
    950: '#000000',
  },
}
SCSS
$custom: #afb136;
$custom-light: #cac875;
$custom-dark: #000000;
JSON
{
  "hex": "#afb136",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 54
  },
  "hsl": {
    "h": 60.976,
    "s": 53.247,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73643,
    "c": 0.14127,
    "h": 110.3
  },
  "luminance": 0.40825
}

Semantic roles & 50–950 ramp

primary
#AFB136
secondary
#807FC4
accent
#4BDD4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB136

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

Preview Lab → · Contrast checker → · Palette generator →

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