#C3B226#C3B226

#C3B226 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.5% C 0.148 H 101.9°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#C3B226
RGBrgb(195, 178, 38)
HSLhsl(54, 67%, 46%)
HSVhsv(54, 81%, 76%)
CMYKcmyk(0%, 8.7%, 80.5%, 23.5%)
CIE-LABlab(71.95, -8.26, 67.17)
CIE-LCHlch(71.95, 67.67, 97.01°)
OKLaboklab(75.54% -0.0306 0.1452)
OKLCHoklch(75.54% 0.148 101.9)
XYZxyz(38.7778, 43.5846, 8.2035)
Luminance0.4358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B226 #2637C3
analogous
#C36326 #C3B226 #85C326
triadic
#C3B226 #26C3B2 #B226C3
tetradic
#C3B226 #26C363 #2637C3 #C32685
square
#C3B226 #26C363 #2637C3 #C32685
split-complementary
#C3B226 #2685C3 #6326C3
monochromatic
#5D5412 #90831C #C3B226 #DCCC4A #E6DB7E

Accessibility & contrast

On white

2.16
#C3B226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#C3B226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B226
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B226#FFFFFF#000000##000000
##C3B2261.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C8B332
Tritanopia (blue-blind)
#D2A599
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c3b226;
/* rgb */ color: rgb(195, 178, 38);
/* oklch */ color: oklch(75.5% 0.148 101.9);
Tailwind
colors: {
  custom: {
    50: '#d9c86e',
    500: '#c3b226',
    950: '#000000',
  },
}
SCSS
$custom: #c3b226;
$custom-light: #d9c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b226",
  "rgb": {
    "r": 195,
    "g": 178,
    "b": 38
  },
  "hsl": {
    "h": 53.503,
    "s": 67.382,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75538,
    "c": 0.14836,
    "h": 101.9
  },
  "luminance": 0.43583
}

Semantic roles & 50–950 ramp

primary
#C3B226
secondary
#7780CE
accent
#50EA3E
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C3B226

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

Preview Lab → · Contrast checker → · Palette generator →

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