#A6B233#A6B233

#A6B233 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.147 H 114.8°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A6B233
RGBrgb(166, 178, 51)
HSLhsl(66, 55%, 45%)
HSVhsv(66, 71%, 70%)
CMYKcmyk(6.7%, 0%, 71.3%, 30.2%)
CIE-LABlab(69.60, -20.26, 59.86)
CIE-LCHlch(69.60, 63.20, 108.70°)
OKLaboklab(73.1% -0.0615 0.1331)
OKLCHoklch(73.1% 0.147 114.8)
XYZxyz(32.2447, 40.1874, 9.1897)
Luminance0.4019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B233 #3F33B2
analogous
#B27E33 #A6B233 #67B233
triadic
#A6B233 #33A6B2 #B233A6
tetradic
#A6B233 #33B27E #3F33B2 #B23367
square
#A6B233 #33B27E #3F33B2 #B23367
split-complementary
#A6B233 #3367B2 #7E33B2
monochromatic
#4D5318 #7A8225 #A6B233 #C3CE54 #D3DC84

Accessibility & contrast

On white

2.32
#A6B233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#A6B233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B233
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B233#FFFFFF#000000##000000
##A6B2331.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91C
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b233;
/* rgb */ color: rgb(166, 178, 51);
/* oklch */ color: oklch(73.1% 0.147 114.8);
Tailwind
colors: {
  custom: {
    50: '#c4c873',
    500: '#a6b233',
    950: '#000000',
  },
}
SCSS
$custom: #a6b233;
$custom-light: #c4c873;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b233",
  "rgb": {
    "r": 166,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 65.669,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.731,
    "c": 0.14664,
    "h": 114.8
  },
  "luminance": 0.40187
}

Semantic roles & 50–950 ramp

primary
#A6B233
secondary
#837CC5
accent
#49DF57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B233

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

Preview Lab → · Contrast checker → · Palette generator →

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