#A8B233#A8B233

#A8B233 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.3% C 0.146 H 113.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A8B233
RGBrgb(168, 178, 51)
HSLhsl(65, 55%, 45%)
HSVhsv(65, 71%, 70%)
CMYKcmyk(5.6%, 0%, 71.3%, 30.2%)
CIE-LABlab(69.76, -19.41, 60.07)
CIE-LCHlch(69.76, 63.12, 107.91°)
OKLaboklab(73.26% -0.0592 0.1335)
OKLCHoklch(73.26% 0.146 113.9)
XYZxyz(32.6673, 40.4053, 9.2095)
Luminance0.4041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B233 #3D33B2
analogous
#B27C33 #A8B233 #69B233
triadic
#A8B233 #33A8B2 #B233A8
tetradic
#A8B233 #33B27C #3D33B2 #B23369
square
#A8B233 #33B27C #3D33B2 #B23369
split-complementary
#A8B233 #3369B2 #7C33B2
monochromatic
#4E5318 #7B8225 #A8B233 #C4CE54 #D5DC84

Accessibility & contrast

On white

2.31
#A8B233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A8B233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B233
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B233#FFFFFF#000000##000000
##A8B2331.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b233;
/* rgb */ color: rgb(168, 178, 51);
/* oklch */ color: oklch(73.3% 0.146 113.9);
Tailwind
colors: {
  custom: {
    50: '#c5c873',
    500: '#a8b233',
    950: '#000000',
  },
}
SCSS
$custom: #a8b233;
$custom-light: #c5c873;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b233",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 64.724,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73263,
    "c": 0.14604,
    "h": 113.9
  },
  "luminance": 0.40405
}

Semantic roles & 50–950 ramp

primary
#A8B233
secondary
#817CC5
accent
#49DF55
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B233

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

Preview Lab → · Contrast checker → · Palette generator →

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