#C7B638#C7B638

#C7B638 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.9% C 0.142 H 101.4°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#C7B638
RGBrgb(199, 182, 56)
HSLhsl(53, 56%, 50%)
HSVhsv(53, 72%, 78%)
CMYKcmyk(0%, 8.5%, 71.9%, 22%)
CIE-LABlab(73.47, -7.87, 62.73)
CIE-LCHlch(73.47, 63.22, 97.15°)
OKLaboklab(76.86% -0.0281 0.139)
OKLCHoklch(76.86% 0.142 101.4)
XYZxyz(40.9968, 45.8854, 10.4379)
Luminance0.4588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B638 #3849C7
analogous
#C76E38 #C7B638 #91C738
triadic
#C7B638 #38C7B6 #B638C7
tetradic
#C7B638 #38C76E #3849C7 #C73891
square
#C7B638 #38C76E #3849C7 #C73891
split-complementary
#C7B638 #3891C7 #6E38C7
monochromatic
#675F1D #978A2B #C7B638 #D4C868 #E2D998

Accessibility & contrast

On white

2.06
#C7B638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#C7B638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B638
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B638#FFFFFF#000000##000000
##C7B6381.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B123
Deuteranopia (green-blind)
#CCB840
Tritanopia (blue-blind)
#D6A99D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c7b638;
/* rgb */ color: rgb(199, 182, 56);
/* oklch */ color: oklch(76.9% 0.142 101.4);
Tailwind
colors: {
  custom: {
    50: '#dccb77',
    500: '#c7b638',
    950: '#000000',
  },
}
SCSS
$custom: #c7b638;
$custom-light: #dccb77;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b638",
  "rgb": {
    "r": 199,
    "g": 182,
    "b": 56
  },
  "hsl": {
    "h": 52.867,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.76862,
    "c": 0.14176,
    "h": 101.4
  },
  "luminance": 0.45884
}

Semantic roles & 50–950 ramp

primary
#C7B638
secondary
#8D95CD
accent
#5ADF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7B638

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

Preview Lab → · Contrast checker → · Palette generator →

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