#C3B438#C3B438

#C3B438 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.1% C 0.140 H 102.3°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#C3B438
RGBrgb(195, 180, 56)
HSLhsl(54, 55%, 49%)
HSVhsv(54, 71%, 76%)
CMYKcmyk(0%, 7.7%, 71.3%, 23.5%)
CIE-LABlab(72.58, -8.56, 61.74)
CIE-LCHlch(72.58, 62.33, 97.89°)
OKLaboklab(76.07% -0.0298 0.137)
OKLCHoklch(76.07% 0.14 102.3)
XYZxyz(39.5425, 44.5318, 10.2532)
Luminance0.4453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B438 #3847C3
analogous
#C36F38 #C3B438 #8DC338
triadic
#C3B438 #38C3B4 #B438C3
tetradic
#C3B438 #38C36F #3847C3 #C3388D
square
#C3B438 #38C36F #3847C3 #C3388D
split-complementary
#C3B438 #388DC3 #6F38C3
monochromatic
#645C1D #93882A #C3B438 #D3C765 #E1D895

Accessibility & contrast

On white

2.12
#C3B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#C3B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B438
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B438#FFFFFF#000000##000000
##C3B4381.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE24
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#D2A79C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c3b438;
/* rgb */ color: rgb(195, 180, 56);
/* oklch */ color: oklch(76.1% 0.140 102.3);
Tailwind
colors: {
  custom: {
    50: '#d9ca77',
    500: '#c3b438',
    950: '#000000',
  },
}
SCSS
$custom: #c3b438;
$custom-light: #d9ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b438",
  "rgb": {
    "r": 195,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 53.525,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76072,
    "c": 0.14021,
    "h": 102.3
  },
  "luminance": 0.4453
}

Semantic roles & 50–950 ramp

primary
#C3B438
secondary
#8B92CC
accent
#59DF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C3B438

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

Preview Lab → · Contrast checker → · Palette generator →

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