#C3B240#C3B240

#C3B240 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.7% C 0.133 H 100.7°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#C3B240
RGBrgb(195, 178, 64)
HSLhsl(52, 52%, 51%)
HSVhsv(52, 67%, 76%)
CMYKcmyk(0%, 8.7%, 67.2%, 23.5%)
CIE-LABlab(72.10, -7.10, 58.10)
CIE-LCHlch(72.10, 58.53, 96.96°)
OKLaboklab(75.71% -0.0248 0.1307)
OKLCHoklch(75.71% 0.133 100.7)
XYZxyz(39.3532, 43.8148, 11.2337)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B240 #4051C3
analogous
#C37040 #C3B240 #92C340
triadic
#C3B240 #40C3B2 #B240C3
tetradic
#C3B240 #40C370 #4051C3 #C34092
square
#C3B240 #40C370 #4051C3 #C34092
split-complementary
#C3B240 #4092C3 #7040C3
monochromatic
#685F21 #97892F #C3B240 #D2C56F #E0D89D

Accessibility & contrast

On white

2.15
#C3B240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#C3B240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B240
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B240#FFFFFF#000000##000000
##C3B2401.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD31
Deuteranopia (green-blind)
#C7B447
Tritanopia (blue-blind)
#D2A69B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c3b240;
/* rgb */ color: rgb(195, 178, 64);
/* oklch */ color: oklch(75.7% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#d8c87b',
    500: '#c3b240',
    950: '#000000',
  },
}
SCSS
$custom: #c3b240;
$custom-light: #d8c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b240",
  "rgb": {
    "r": 195,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 52.214,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7571,
    "c": 0.13304,
    "h": 100.7
  },
  "luminance": 0.43813
}

Semantic roles & 50–950 ramp

primary
#C3B240
secondary
#929ACC
accent
#5FDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C3B240

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

Preview Lab → · Contrast checker → · Palette generator →

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