#C7B926#C7B926

#C7B926 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.4% C 0.154 H 103.6°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#C7B926
RGBrgb(199, 185, 38)
HSLhsl(55, 68%, 46%)
HSVhsv(55, 81%, 78%)
CMYKcmyk(0%, 7%, 80.9%, 22%)
CIE-LABlab(74.18, -10.13, 69.24)
CIE-LCHlch(74.18, 69.98, 98.32°)
OKLaboklab(77.39% -0.036 0.1495)
OKLCHoklch(77.39% 0.154 103.6)
XYZxyz(41.2539, 46.9818, 8.7287)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B926 #2634C7
analogous
#C76926 #C7B926 #85C726
triadic
#C7B926 #26C7B9 #B926C7
tetradic
#C7B926 #26C769 #2634C7 #C72685
square
#C7B926 #26C769 #2634C7 #C72685
split-complementary
#C7B926 #2685C7 #6926C7
monochromatic
#605912 #94891C #C7B926 #DDD14D #E7DE81

Accessibility & contrast

On white

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

On black

10.40
#C7B926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B926
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B926#FFFFFF#000000##000000
##C7B9261.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7b926;
/* rgb */ color: rgb(199, 185, 38);
/* oklch */ color: oklch(77.4% 0.154 103.6);
Tailwind
colors: {
  custom: {
    50: '#dccd6f',
    500: '#c7b926',
    950: '#000000',
  },
}
SCSS
$custom: #c7b926;
$custom-light: #dccd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b926",
  "rgb": {
    "r": 199,
    "g": 185,
    "b": 38
  },
  "hsl": {
    "h": 54.783,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77394,
    "c": 0.15374,
    "h": 103.6
  },
  "luminance": 0.4698
}

Semantic roles & 50–950 ramp

primary
#C7B926
secondary
#7981CF
accent
#4CEB3D
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C7B926

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

Preview Lab → · Contrast checker → · Palette generator →

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