#C6B92B#C6B92B

#C6B92B is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.3% C 0.152 H 103.9°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#C6B92B
RGBrgb(198, 185, 43)
HSLhsl(55, 64%, 47%)
HSVhsv(55, 78%, 78%)
CMYKcmyk(0%, 6.6%, 78.3%, 22.4%)
CIE-LABlab(74.11, -10.39, 67.70)
CIE-LCHlch(74.11, 68.49, 98.73°)
OKLaboklab(77.33% -0.0363 0.1471)
OKLCHoklch(77.33% 0.152 103.9)
XYZxyz(41.0756, 46.8798, 9.1701)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B92B #2B38C6
analogous
#C66C2B #C6B92B #85C62B
triadic
#C6B92B #2BC6B9 #B92BC6
tetradic
#C6B92B #2BC66C #2B38C6 #C62B85
square
#C6B92B #2BC66C #2B38C6 #C62B85
split-complementary
#C6B92B #2B85C6 #6C2BC6
monochromatic
#615B15 #948A20 #C6B92B #DACF54 #E5DD87

Accessibility & contrast

On white

2.02
#C6B92B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#C6B92B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B92B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B92B#FFFFFF#000000##000000
##C6B92B1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB300
Deuteranopia (green-blind)
#CEB937
Tritanopia (blue-blind)
#D5AC9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c6b92b;
/* rgb */ color: rgb(198, 185, 43);
/* oklch */ color: oklch(77.3% 0.152 103.9);
Tailwind
colors: {
  custom: {
    50: '#dbcd71',
    500: '#c6b92b',
    950: '#000000',
  },
}
SCSS
$custom: #c6b92b;
$custom-light: #dbcd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b92b",
  "rgb": {
    "r": 198,
    "g": 185,
    "b": 43
  },
  "hsl": {
    "h": 54.968,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77329,
    "c": 0.15156,
    "h": 103.9
  },
  "luminance": 0.46878
}

Semantic roles & 50–950 ramp

primary
#C6B92B
secondary
#7F85CE
accent
#4EE740
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C6B92B

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

Preview Lab → · Contrast checker → · Palette generator →

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