#AFB633#AFB633

#AFB633 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.7% C 0.148 H 112.5°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#AFB633
RGBrgb(175, 182, 51)
HSLhsl(63, 56%, 46%)
HSVhsv(63, 72%, 71%)
CMYKcmyk(3.8%, 0%, 72%, 28.6%)
CIE-LABlab(71.43, -18.43, 61.87)
CIE-LCHlch(71.43, 64.56, 106.59°)
OKLaboklab(74.73% -0.0569 0.1371)
OKLCHoklch(74.73% 0.148 112.5)
XYZxyz(35.0058, 42.8097, 9.5504)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB633 #3A33B6
analogous
#B67B33 #AFB633 #6DB633
triadic
#AFB633 #33AFB6 #B633AF
tetradic
#AFB633 #33B67B #3A33B6 #B6336D
square
#AFB633 #33B67B #3A33B6 #B6336D
split-complementary
#AFB633 #336DB6 #7B33B6
monochromatic
#535618 #818626 #AFB633 #C9D056 #D9DD86

Accessibility & contrast

On white

2.20
#AFB633 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#AFB633 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB633
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB633#FFFFFF#000000##000000
##AFB6331.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD1B
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#BBAB9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb633;
/* rgb */ color: rgb(175, 182, 51);
/* oklch */ color: oklch(74.7% 0.148 112.5);
Tailwind
colors: {
  custom: {
    50: '#cacb74',
    500: '#afb633',
    950: '#000000',
  },
}
SCSS
$custom: #afb633;
$custom-light: #cacb74;
$custom-dark: #000000;
JSON
{
  "hex": "#afb633",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 51
  },
  "hsl": {
    "h": 63.206,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74734,
    "c": 0.14843,
    "h": 112.5
  },
  "luminance": 0.42809
}

Semantic roles & 50–950 ramp

primary
#AFB633
secondary
#827EC7
accent
#48E050
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB633

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

Preview Lab → · Contrast checker → · Palette generator →

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