#AFB736#AFB736

#AFB736 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.0% C 0.148 H 113.0°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#AFB736
RGBrgb(175, 183, 54)
HSLhsl(64, 54%, 46%)
HSVhsv(64, 70%, 72%)
CMYKcmyk(4.4%, 0%, 70.5%, 28.2%)
CIE-LABlab(71.72, -18.78, 61.08)
CIE-LCHlch(71.72, 63.90, 107.09°)
OKLaboklab(74.98% -0.0576 0.1359)
OKLCHoklch(74.98% 0.148 113)
XYZxyz(35.2796, 43.2480, 9.9786)
Luminance0.4325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB736 #3E36B7
analogous
#B77F36 #AFB736 #6FB736
triadic
#AFB736 #36AFB7 #B736AF
tetradic
#AFB736 #36B77F #3E36B7 #B7366F
square
#AFB736 #36B77F #3E36B7 #B7366F
split-complementary
#AFB736 #366FB7 #7F36B7
monochromatic
#55581A #828828 #AFB736 #C8CF5B #D8DD8B

Accessibility & contrast

On white

2.18
#AFB736 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#AFB736 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB736
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB736#FFFFFF#000000##000000
##AFB7361.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE20
Deuteranopia (green-blind)
#C5B140
Tritanopia (blue-blind)
#BBAC9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb736;
/* rgb */ color: rgb(175, 183, 54);
/* oklch */ color: oklch(75.0% 0.148 113.0);
Tailwind
colors: {
  custom: {
    50: '#cacc76',
    500: '#afb736',
    950: '#000000',
  },
}
SCSS
$custom: #afb736;
$custom-light: #cacc76;
$custom-dark: #000000;
JSON
{
  "hex": "#afb736",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 54
  },
  "hsl": {
    "h": 63.721,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74978,
    "c": 0.14761,
    "h": 113
  },
  "luminance": 0.43247
}

Semantic roles & 50–950 ramp

primary
#AFB736
secondary
#8682C7
accent
#4ADE53
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB736

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

Preview Lab → · Contrast checker → · Palette generator →

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