#C6B23A#C6B23A

#C6B23A is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.9% C 0.137 H 99.6°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#C6B23A
RGBrgb(198, 178, 58)
HSLhsl(51, 55%, 50%)
HSVhsv(51, 71%, 78%)
CMYKcmyk(0%, 10.1%, 70.7%, 22.4%)
CIE-LABlab(72.33, -6.12, 60.82)
CIE-LCHlch(72.33, 61.12, 95.75°)
OKLaboklab(75.94% -0.0228 0.1353)
OKLCHoklch(75.94% 0.137 99.6)
XYZxyz(39.9747, 44.1539, 10.4191)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B23A #3A4EC6
analogous
#C66C3A #C6B23A #94C63A
triadic
#C6B23A #3AC6B2 #B23AC6
tetradic
#C6B23A #3AC66C #3A4EC6 #C63A94
square
#C6B23A #3AC66C #3A4EC6 #C63A94
split-complementary
#C6B23A #3A94C6 #6C3AC6
monochromatic
#685D1E #97882C #C6B23A #D4C569 #E1D799

Accessibility & contrast

On white

2.14
#C6B23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#C6B23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B23A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B23A#FFFFFF#000000##000000
##C6B23A1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD28
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#D5A59A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c6b23a;
/* rgb */ color: rgb(198, 178, 58);
/* oklch */ color: oklch(75.9% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#dbc878',
    500: '#c6b23a',
    950: '#000000',
  },
}
SCSS
$custom: #c6b23a;
$custom-light: #dbc878;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b23a",
  "rgb": {
    "r": 198,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 51.429,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75941,
    "c": 0.13723,
    "h": 99.6
  },
  "luminance": 0.44152
}

Semantic roles & 50–950 ramp

primary
#C6B23A
secondary
#8F98CD
accent
#5FDE49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C6B23A

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

Preview Lab → · Contrast checker → · Palette generator →

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