#AFB634#AFB634

#AFB634 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#AFB634
RGBrgb(175, 182, 52)
HSLhsl(63, 56%, 46%)
HSVhsv(63, 71%, 71%)
CMYKcmyk(3.8%, 0%, 71.4%, 28.6%)
CIE-LABlab(71.43, -18.38, 61.52)
CIE-LCHlch(71.43, 64.21, 106.64°)
OKLaboklab(74.74% -0.0567 0.1365)
OKLCHoklch(74.74% 0.148 112.5)
XYZxyz(35.0281, 42.8186, 9.6678)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB634 #3B34B6
analogous
#B67C34 #AFB634 #6EB634
triadic
#AFB634 #34AFB6 #B634AF
tetradic
#AFB634 #34B67C #3B34B6 #B6346E
square
#AFB634 #34B67C #3B34B6 #B6346E
split-complementary
#AFB634 #346EB6 #7C34B6
monochromatic
#535719 #818626 #AFB634 #C9CF58 #D8DD88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB634#FFFFFF#000000##000000
##AFB6341.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)
#C4AD1D
Deuteranopia (green-blind)
#C4B03E
Tritanopia (blue-blind)
#BBAB9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb634;
/* rgb */ color: rgb(175, 182, 52);
/* oklch */ color: oklch(74.7% 0.148 112.5);
Tailwind
colors: {
  custom: {
    50: '#cacb74',
    500: '#afb634',
    950: '#000000',
  },
}
SCSS
$custom: #afb634;
$custom-light: #cacb74;
$custom-dark: #000000;
JSON
{
  "hex": "#afb634",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 52
  },
  "hsl": {
    "h": 63.231,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74741,
    "c": 0.14781,
    "h": 112.5
  },
  "luminance": 0.42818
}

Semantic roles & 50–950 ramp

primary
#AFB634
secondary
#837FC7
accent
#49DF51
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB634

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

Preview Lab → · Contrast checker → · Palette generator →

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