#C6B438#C6B438

#C6B438 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.3% C 0.140 H 100.8°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#C6B438
RGBrgb(198, 180, 56)
HSLhsl(52, 56%, 50%)
HSVhsv(52, 72%, 78%)
CMYKcmyk(0%, 9.1%, 71.7%, 22.4%)
CIE-LABlab(72.85, -7.26, 62.09)
CIE-LCHlch(72.85, 62.51, 96.67°)
OKLaboklab(76.35% -0.0263 0.1377)
OKLCHoklch(76.35% 0.14 100.8)
XYZxyz(40.3256, 44.9356, 10.2900)
Luminance0.4493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B438 #384AC6
analogous
#C66D38 #C6B438 #91C638
triadic
#C6B438 #38C6B4 #B438C6
tetradic
#C6B438 #38C66D #384AC6 #C63891
square
#C6B438 #38C66D #384AC6 #C63891
split-complementary
#C6B438 #3891C6 #6D38C6
monochromatic
#675D1D #96892B #C6B438 #D4C667 #E2D897

Accessibility & contrast

On white

2.10
#C6B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#C6B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B438
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B438#FFFFFF#000000##000000
##C6B4381.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF24
Deuteranopia (green-blind)
#CAB640
Tritanopia (blue-blind)
#D5A79C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c6b438;
/* rgb */ color: rgb(198, 180, 56);
/* oklch */ color: oklch(76.3% 0.140 100.8);
Tailwind
colors: {
  custom: {
    50: '#dbca77',
    500: '#c6b438',
    950: '#000000',
  },
}
SCSS
$custom: #c6b438;
$custom-light: #dbca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b438",
  "rgb": {
    "r": 198,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 52.394,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76347,
    "c": 0.14014,
    "h": 100.8
  },
  "luminance": 0.44934
}

Semantic roles & 50–950 ramp

primary
#C6B438
secondary
#8D95CD
accent
#5CDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C6B438

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

Preview Lab → · Contrast checker → · Palette generator →

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