#C6B43F#C6B43F

#C6B43F is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.4% C 0.135 H 100.4°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#C6B43F
RGBrgb(198, 180, 63)
HSLhsl(52, 54%, 51%)
HSVhsv(52, 68%, 78%)
CMYKcmyk(0%, 9.1%, 68.2%, 22.4%)
CIE-LABlab(72.90, -6.90, 59.41)
CIE-LCHlch(72.90, 59.81, 96.63°)
OKLaboklab(76.4% -0.0245 0.1332)
OKLCHoklch(76.4% 0.135 100.4)
XYZxyz(40.5089, 45.0090, 11.2555)
Luminance0.4501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B43F #3F51C6
analogous
#C6703F #C6B43F #94C63F
triadic
#C6B43F #3FC6B4 #B43FC6
tetradic
#C6B43F #3FC670 #3F51C6 #C63F94
square
#C6B43F #3FC670 #3F51C6 #C63F94
split-complementary
#C6B43F #3F94C6 #703FC6
monochromatic
#6B6120 #9A8C2E #C6B43F #D4C66E #E2D99D

Accessibility & contrast

On white

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

On black

10.00
#C6B43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B43F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B43F#FFFFFF#000000##000000
##C6B43F1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6b43f;
/* rgb */ color: rgb(198, 180, 63);
/* oklch */ color: oklch(76.4% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#dbca7a',
    500: '#c6b43f',
    950: '#000000',
  },
}
SCSS
$custom: #c6b43f;
$custom-light: #dbca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b43f",
  "rgb": {
    "r": 198,
    "g": 180,
    "b": 63
  },
  "hsl": {
    "h": 52,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76401,
    "c": 0.13545,
    "h": 100.4
  },
  "luminance": 0.45007
}

Semantic roles & 50–950 ramp

primary
#C6B43F
secondary
#939BCE
accent
#5EDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6B43F

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

Preview Lab → · Contrast checker → · Palette generator →

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