#CFB73B#CFB73B

#CFB73B is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.141 H 97.9°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#CFB73B
RGBrgb(207, 183, 59)
HSLhsl(50, 61%, 52%)
HSVhsv(50, 71%, 81%)
CMYKcmyk(0%, 11.6%, 71.5%, 18.8%)
CIE-LABlab(74.48, -4.79, 62.83)
CIE-LCHlch(74.48, 63.01, 94.36°)
OKLaboklab(77.84% -0.0195 0.1394)
OKLCHoklch(77.84% 0.141 97.9)
XYZxyz(43.4571, 47.4503, 11.0066)
Luminance0.4745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB73B #3B53CF
analogous
#CF6D3B #CFB73B #9DCF3B
triadic
#CFB73B #3BCFB7 #B73BCF
tetradic
#CFB73B #3BCF6D #3B53CF #CF3B9D
square
#CFB73B #3BCF6D #3B53CF #CF3B9D
split-complementary
#CFB73B #3B9DCF #6D3BCF
monochromatic
#73651C #A59028 #CFB73B #DBC96C #E7DB9D

Accessibility & contrast

On white

2.00
#CFB73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#CFB73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB73B
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB73B#FFFFFF#000000##000000
##CFB73B1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B328
Deuteranopia (green-blind)
#CFBB43
Tritanopia (blue-blind)
#DFA99E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb73b;
/* rgb */ color: rgb(207, 183, 59);
/* oklch */ color: oklch(77.8% 0.141 97.9);
Tailwind
colors: {
  custom: {
    50: '#e2cc79',
    500: '#cfb73b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb73b;
$custom-light: #e2cc79;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb73b",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 59
  },
  "hsl": {
    "h": 50.27,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77837,
    "c": 0.14078,
    "h": 97.9
  },
  "luminance": 0.47448
}

Semantic roles & 50–950 ramp

primary
#CFB73B
secondary
#939DD3
accent
#5EE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CFB73B

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

Preview Lab → · Contrast checker → · Palette generator →

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