#C6B23F#C6B23F

#C6B23F is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.0% C 0.134 H 99.3°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#C6B23F
RGBrgb(198, 178, 63)
HSLhsl(51, 54%, 51%)
HSVhsv(51, 68%, 78%)
CMYKcmyk(0%, 10.1%, 68.2%, 22.4%)
CIE-LABlab(72.37, -5.86, 58.87)
CIE-LCHlch(72.37, 59.16, 95.68°)
OKLaboklab(75.98% -0.0215 0.1321)
OKLCHoklch(75.98% 0.134 99.3)
XYZxyz(40.1081, 44.2073, 11.1219)
Luminance0.4420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B23F #3F53C6
analogous
#C66E3F #C6B23F #96C63F
triadic
#C6B23F #3FC6B2 #B23FC6
tetradic
#C6B23F #3FC66E #3F53C6 #C63F96
square
#C6B23F #3FC66E #3F53C6 #C63F96
split-complementary
#C6B23F #3F96C6 #6E3FC6
monochromatic
#6B6020 #9A8A2E #C6B23F #D4C56E #E2D89D

Accessibility & contrast

On white

2.13
#C6B23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#C6B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B23F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B23F#FFFFFF#000000##000000
##C6B23F1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2F
Deuteranopia (green-blind)
#C8B546
Tritanopia (blue-blind)
#D5A59B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c6b23f;
/* rgb */ color: rgb(198, 178, 63);
/* oklch */ color: oklch(76.0% 0.134 99.3);
Tailwind
colors: {
  custom: {
    50: '#dbc87a',
    500: '#c6b23f',
    950: '#000000',
  },
}
SCSS
$custom: #c6b23f;
$custom-light: #dbc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b23f",
  "rgb": {
    "r": 198,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 51.111,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7598,
    "c": 0.13382,
    "h": 99.3
  },
  "luminance": 0.44205
}

Semantic roles & 50–950 ramp

primary
#C6B23F
secondary
#939BCE
accent
#60DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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